From bc32da6a676139c51bb5e39b70a4400691600abf Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 3 Apr 2008 15:20:18 +0000 Subject: 24786: handle read -t properly in zle via getbyte() --- Src/Zle/zle_vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/zle_vi.c') 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; -- cgit 1.4.1