diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2018-09-03 10:09:22 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-09-03 10:09:22 +0100 |
commit | 3ad2ca330538d38f36e9a3000190517b3f4bfa1b (patch) | |
tree | 21eb1be8d1ecdbb7b90d31c8e92d7e64ae00bfb9 /Src/Zle/zle_vi.c | |
parent | 014eaf7e810dda8be5eaf97c37c9f86e6e839022 (diff) | |
download | zsh-3ad2ca330538d38f36e9a3000190517b3f4bfa1b.tar.gz zsh-3ad2ca330538d38f36e9a3000190517b3f4bfa1b.tar.xz zsh-3ad2ca330538d38f36e9a3000190517b3f4bfa1b.zip |
Don't handle ZLE functions for single key.
For read -k and read -q where we use ZLE, we just want a single key and not full ZLE processing. So don't handle timed ZLE functions when preforming the read.
Diffstat (limited to 'Src/Zle/zle_vi.c')
-rw-r--r-- | Src/Zle/zle_vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c index e0923db3e..a5ff9200c 100644 --- a/Src/Zle/zle_vi.c +++ b/Src/Zle/zle_vi.c @@ -131,7 +131,7 @@ vigetkey(void) char m[3], *str; Thingy cmd; - if (getbyte(0L, NULL) == EOF) + if (getbyte(0L, NULL, 1) == EOF) return ZLEEOF; m[0] = lastchar; |