Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2024-12-20 10:01:10 +00:00
commit e75f3a0060

View File

@ -595,7 +595,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key)
/* Is this backtab? */ /* Is this backtab? */
if ((key & KEYC_MASK_KEY) == KEYC_BTAB) { if ((key & KEYC_MASK_KEY) == KEYC_BTAB) {
if ((s->mode & EXTENDED_KEY_MODES) != 0) { if (s->mode & MODE_KEYS_EXTENDED_2) {
/* When in xterm extended mode, remap into S-Tab. */ /* When in xterm extended mode, remap into S-Tab. */
key = '\011' | (key & ~KEYC_MASK_KEY) | KEYC_SHIFT; key = '\011' | (key & ~KEYC_MASK_KEY) | KEYC_SHIFT;
} else { } else {