diff --git a/input-keys.c b/input-keys.c index b47eea6e..f6bc77e9 100644 --- a/input-keys.c +++ b/input-keys.c @@ -595,7 +595,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key) /* Is this backtab? */ 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. */ key = '\011' | (key & ~KEYC_MASK_KEY) | KEYC_SHIFT; } else {