summaryrefslogtreecommitdiff
path: root/boshiamy.h
diff options
context:
space:
mode:
Diffstat (limited to 'boshiamy.h')
-rw-r--r--boshiamy.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/boshiamy.h b/boshiamy.h
index d2cc0e5..63251e8 100644
--- a/boshiamy.h
+++ b/boshiamy.h
@@ -1,5 +1,17 @@
+//indicators for turning the im on and off
+#define IM_ON_INDICATOR "嘸"
+//string length in bytes
+#define IM_ON_INDICATOR_LEN 3
+#define IM_OFF_INDICATOR "英"
+#define IM_OFF_INDICATOR_LEN 3
+//width of the indicator as displayed on the terminal
+#define IM_INDICATOR_WIDTH 2
+//length of input method table
#define IM_TABLE_LEN 47976
+//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},