From 9a665ba296bfe0e96d9f72d9f50b956e210e50c2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 22 May 2014 18:59:58 +0200 Subject: updated for version 7.4.306 Problem: getchar(0) does not return Esc. Solution: Do not wait for an Esc sequence to be complete. (Yasuhiro Matsumoto) --- src/getchar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index b39e64d97a..c4ffb4b163 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -1883,7 +1883,7 @@ vpeekc_nomap() } #endif -#if defined(FEAT_INS_EXPAND) || defined(PROTO) +#if defined(FEAT_INS_EXPAND) || defined(FEAT_EVAL) || defined(PROTO) /* * Check if any character is available, also half an escape sequence. * Trick: when no typeahead found, but there is something in the typeahead -- cgit v1.2.3