summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index c3c5979ec..99dc1b0c9 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3918,6 +3918,7 @@ check_termcode(max_offset, buf, buflen)
continue;
key_name[0] = NUL; /* no key name found yet */
+ key_name[1] = NUL; /* no key name found yet */
modifiers = 0; /* no modifiers yet */
#ifdef FEAT_GUI