diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-20 14:43:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-20 14:43:23 +0200 |
commit | ef6746f637adbdb6860b4fa0266c43c49fa498bc (patch) | |
tree | bc6c972c44330f8abab831c728f535326d35aaa8 /src/proto/misc2.pro | |
parent | 280b0dc815a31b99dafc384baa415072e5f2bec1 (diff) |
patch 8.2.1019: mapping <M-S-a> does not work in the GUIv8.2.1019
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index 3477452525..e1e20aaab1 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -71,6 +71,7 @@ char_u *get_special_key_name(int c, int modifiers); int trans_special(char_u **srcp, char_u *dst, int flags, int *did_simplify); int special_to_buf(int key, int modifiers, int keycode, char_u *dst); int find_special_key(char_u **srcp, int *modp, int flags, int *did_simplify); +int may_remove_shift_modifier(int modifiers, int key); int extract_modifiers(int key, int *modp, int simplify, int *did_simplify); int find_special_key_in_table(int c); int get_special_key_code(char_u *name); |