From a3658060de6c22d01ed0650cd09b78fe50ae6ba9 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, 6 Sep 2025 15:17:50 -0700 Subject: Removed '[' and ']' from the im_key list since they intefere with arrow key inputs --- im.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'im.h') diff --git a/im.h b/im.h index f029fb1..3ded146 100644 --- a/im.h +++ b/im.h @@ -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++) { -- cgit v1.1