diff options
author | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2025-09-13 03:58:05 -0700 |
---|---|---|
committer | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2025-09-13 03:58:05 -0700 |
commit | c1181722a6b6a0d7ba643ffd7230125378c05849 (patch) | |
tree | 088b465ebdd3c881e3b818c005070d990176def9 | |
parent | 5459e9295ae81f54547ea3e486fcd92968f01325 (diff) |
Fixed punctuationmain
-rw-r--r-- | boshiamy.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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}, |