diff options
author | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2025-09-13 03:50:27 -0700 |
---|---|---|
committer | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2025-09-13 03:50:27 -0700 |
commit | 5459e9295ae81f54547ea3e486fcd92968f01325 (patch) | |
tree | 4311d0476dfbde0d492fcbaaad060676949f4ba3 | |
parent | 2395ce8c7fc19f937bbddbe309a2a9ea937a3b86 (diff) |
Now that we can handle escape sequences, re-adding "'", "[", and "]" to im keys
-rw-r--r-- | im.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -22,7 +22,7 @@ #define ESCAPE_KEY_2 0x1B //Vertical Tab Ctrl+K #define TOGGLE_KEY 0x0B -#define IM_KEY_RANGE_LEN 3 +#define IM_KEY_RANGE_LEN 6 #define IM_SELECTOR_RANGE_LEN 2 //Array of Input method key ranges(inclusive) seperate from the above @@ -30,6 +30,9 @@ char im_key_ranges[IM_KEY_RANGE_LEN][2] = { {'a','z'}, {',',','}, {'.','.'}, + {'\'','\''}, + {'[','['}, + {']',']'}, }; //array of selector ranges, these keys never start a sequence char im_selector_ranges[IM_SELECTOR_RANGE_LEN][2] = { |