diff options
author | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2025-09-06 15:17:50 -0700 |
---|---|---|
committer | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2025-09-06 15:17:50 -0700 |
commit | a3658060de6c22d01ed0650cd09b78fe50ae6ba9 (patch) | |
tree | b542a61f8ef99312317917a9ddf984a047a19b43 /im.h | |
parent | 5715ad9cd6be9bdd41809f4ce08aa250363cb41e (diff) |
Removed '[' and ']' from the im_key list since they intefere with arrow key
inputs
Diffstat (limited to 'im.h')
-rw-r--r-- | im.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -19,7 +19,7 @@ #define ESCAPE_KEY '`' //Vertical Tab Ctrl+K #define TOGGLE_KEY 0x0B -#define IM_KEY_RANGE_LEN 7 +#define IM_KEY_RANGE_LEN 5 //Array of Input method key ranges(inclusive) seperate from the above char im_key_ranges[IM_KEY_RANGE_LEN][2] = { @@ -28,8 +28,6 @@ char im_key_ranges[IM_KEY_RANGE_LEN][2] = { {' ',' '}, {',',','}, {'.','.'}, - {'[','['}, - {']',']'}, }; int is_im_key(char input) { for (int i = 0; i < IM_KEY_RANGE_LEN; i++) { |