From 5459e9295ae81f54547ea3e486fcd92968f01325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haoran=20S=2E=20Diao=20=28=E5=88=81=E6=B5=A9=E7=84=B6=29?= <0@hairydiode.xyz> Date: Sat, 13 Sep 2025 03:50:27 -0700 Subject: Now that we can handle escape sequences, re-adding "'", "[", and "]" to im keys --- im.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'im.h') diff --git a/im.h b/im.h index ea08488..a5394da 100644 --- a/im.h +++ b/im.h @@ -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] = { -- cgit v1.1