commit | 758a8d199988b5b25566b2820db60dc2c9de3e58 | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Fri Apr 29 11:06:34 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 29 11:06:34 2022 +0100 |
tree | adeaa36cc592a497cdca6782c9f07054475d7c93 | |
parent | 202b4bd3a452898cfe3ed72facfbf7cb8199fa4b [diff] [blame] |
patch 8.2.4844: <C-S-I> is simplified to <S-Tab> Problem: <C-S-I> is simplified to <S-Tab>. Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
diff --git a/src/getchar.c b/src/getchar.c index 2b1bbde..6d8697c 100644 --- a/src/getchar.c +++ b/src/getchar.c
@@ -1634,7 +1634,7 @@ { int c = c_arg; - if (*modifiers & MOD_MASK_CTRL) + if ((*modifiers & MOD_MASK_CTRL) && !(*modifiers & MOD_MASK_SHIFT)) { if ((c >= '`' && c <= 0x7f) || (c >= '@' && c <= '_')) {