summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 70829e18ef..5b5eab3871 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2149,7 +2149,8 @@ vgetorpeek(advance)
else
{
LANGMAP_ADJUST(c1,
- (State & (CMDLINE | INSERT)) == 0);
+ (State & (CMDLINE | INSERT)) == 0
+ && get_real_state() != SELECTMODE);
nolmaplen = 0;
}
#endif