Fix C-S-Tab without extended keys, from Aaron Jensen.
authornicm <nicm@openbsd.org>
Tue, 8 Nov 2022 10:04:31 +0000 (10:04 +0000)
committernicm <nicm@openbsd.org>
Tue, 8 Nov 2022 10:04:31 +0000 (10:04 +0000)
usr.bin/tmux/input-keys.c

index 713c6d9..1c89653 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: input-keys.c,v 1.92 2022/11/02 07:36:07 nicm Exp $ */
+/* $OpenBSD: input-keys.c,v 1.93 2022/11/08 10:04:31 nicm Exp $ */
 
 /*
  * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -317,7 +317,7 @@ static struct input_key_entry input_key_defaults[] = {
          .data = "\033[9;5u"
        },
        { .key = '\011'|KEYC_CTRL|KEYC_SHIFT,
-         .data = "\011"
+         .data = "\033[Z"
        },
        { .key = '\011'|KEYC_CTRL|KEYC_SHIFT|KEYC_EXTENDED,
          .data = "\033[1;5Z"