summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-04 23:39:37 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-04 23:39:37 +0000
commit19a09a189379659b917cf5ccff78f3e5ec061015 (patch)
tree806d594bf7af04ef956c0c96ad64adfcd96325dc /src/getchar.c
parent7383034c0ab657158c4c69146254beffdea4859e (diff)
updated for version 7.0055v7.0055
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 8328e19a1d..e93ce05290 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1483,10 +1483,14 @@ vgetc()
#endif
)
{
+ int save_allow_keys = allow_keys;
+
++no_mapping;
+ allow_keys = 0; /* make sure BS is not found */
c2 = vgetorpeek(TRUE); /* no mapping for these chars */
c = vgetorpeek(TRUE);
--no_mapping;
+ allow_keys = save_allow_keys;
if (c2 == KS_MODIFIER)
{
mod_mask = c;