summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-05-22 18:59:58 +0200
committerBram Moolenaar <Bram@vim.org>2014-05-22 18:59:58 +0200
commit9a665ba296bfe0e96d9f72d9f50b956e210e50c2 (patch)
tree258226bfe2c59d3d7b7a6dad241cb3fc78f1b75c /src/getchar.c
parent13600303c539816933e8b74d14cc518b00f250f8 (diff)
updated for version 7.4.306v7.4.306
Problem: getchar(0) does not return Esc. Solution: Do not wait for an Esc sequence to be complete. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
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