about summary refs log tree commit diff
path: root/Src/Zle/zle_vi.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-03 15:20:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-03 15:20:18 +0000
commitbc32da6a676139c51bb5e39b70a4400691600abf (patch)
treefed36044fca27665dc39ecadc2c39aa09b18b30f /Src/Zle/zle_vi.c
parent2c5ea79f1762dcbafca8d08bc5bdb47d75670f03 (diff)
downloadzsh-bc32da6a676139c51bb5e39b70a4400691600abf.tar.gz
zsh-bc32da6a676139c51bb5e39b70a4400691600abf.tar.xz
zsh-bc32da6a676139c51bb5e39b70a4400691600abf.zip
24786: handle read -t properly in zle via getbyte()
Diffstat (limited to 'Src/Zle/zle_vi.c')
-rw-r--r--Src/Zle/zle_vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c
index 2549af80c..3e8e5ccec 100644
--- a/Src/Zle/zle_vi.c
+++ b/Src/Zle/zle_vi.c
@@ -108,7 +108,7 @@ vigetkey(void)
     char m[3], *str;
     Thingy cmd;
 
-    if (getbyte(0, NULL) == EOF)
+    if (getbyte(0L, NULL) == EOF)
 	return ZLEEOF;
 
     m[0] = lastchar;