tweaks: don't check for escape sequences that start with a lowercase "o"

Such escape sequences don't exist -- those mistaken sequences were
removed in commit 4991b3bb from half a year ago.
master
Benno Schulenberg 2020-07-19 10:57:14 +02:00
parent dcd34b246a
commit 63efc59758
1 changed files with 1 additions and 1 deletions

View File

@ -918,7 +918,7 @@ int parse_kbinput(WINDOW *win)
retval = keycode; retval = keycode;
else if (keycode == '\t') else if (keycode == '\t')
retval = SHIFT_TAB; retval = SHIFT_TAB;
else if ((keycode != 'O' && keycode != 'o' && keycode != '[') || else if ((keycode != 'O' && keycode != '[') ||
key_buffer_len == 0 || *key_buffer == ESC_CODE) { key_buffer_len == 0 || *key_buffer == ESC_CODE) {
/* One escape followed by a single non-escape: /* One escape followed by a single non-escape:
* meta key sequence mode. */ * meta key sequence mode. */