From c1181722a6b6a0d7ba643ffd7230125378c05849 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:58:05 -0700 Subject: Fixed punctuation --- boshiamy.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'boshiamy.h') diff --git a/boshiamy.h b/boshiamy.h index b9fae37..f127afc 100644 --- a/boshiamy.h +++ b/boshiamy.h @@ -7,12 +7,13 @@ //width of the indicator as displayed on the terminal #define IM_INDICATOR_WIDTH 2 //length of input method table -#define IM_TABLE_LEN 48001 +#define IM_TABLE_LEN 48006 //length of entry fields in bytes #define IM_TABLE_ENTRY_LEN 8 //maximum entry width as displayed on terminal #define IM_TABLE_ENTRY_WIDTH 2 char im_table[][3][IM_TABLE_ENTRY_LEN] = { + {"' ", "、", 0}, {"'' ", "“", 0}, {"''' ", "”", 0}, {"'''1", "〞", 0}, @@ -28,6 +29,7 @@ char im_table[][3][IM_TABLE_ENTRY_LEN] = { {"'5", """, 0}, {"'6", "'", 0}, {"'7", "·", 0}, + {", ", ",", 0}, {",' ", "‘", 0}, {",'' ", "“", 0}, {",''1", "”", 0}, @@ -2342,6 +2344,7 @@ char im_table[][3][IM_TABLE_ENTRY_LEN] = { {",zzj ", "卍", 0}, {",zzr ", "↯", 0}, {",zzv ", "㆚", 0}, + {". ", "。", 0}, {"., ", ";", 0}, {".. ", ":", 0}, {"... ", "…", 0}, @@ -2375,6 +2378,7 @@ char im_table[][3][IM_TABLE_ENTRY_LEN] = { {".oq ", "ⓠ", 0}, {".s ", "♠", 0}, {".v ", "・", 0}, + {"[ ", "「", 0}, {"[1", "「", 0}, {"[2", "(", 0}, {"[3", "﹁", 0}, @@ -2411,6 +2415,7 @@ char im_table[][3][IM_TABLE_ENTRY_LEN] = { {"[v7", "︵", 0}, {"[v8", "∧", 0}, {"[vv ", "﹁", 0}, + {"] ", "」", 0}, {"]1", "」", 0}, {"]2", ")", 0}, {"]3", "﹂", 0}, -- cgit v1.1