summaryrefslogtreecommitdiff
path: root/imtable.h
diff options
context:
space:
mode:
authorHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2025-09-05 23:33:59 -0700
committerHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2025-09-05 23:33:59 -0700
commit33c523fdef955c60fb81ccf3e30b8eace12933c9 (patch)
tree8c01ced33af089f64bb845710432aec996038749 /imtable.h
tty intercept works
Diffstat (limited to 'imtable.h')
-rw-r--r--imtable.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/imtable.h b/imtable.h
new file mode 100644
index 0000000..dc51809
--- /dev/null
+++ b/imtable.h
@@ -0,0 +1,9 @@
+#define IM_TABLE_LEN 4
+#define IM_TABLE_ENTRY_LEN 8
+//assumes this is sorted
+char im_table[][3][IM_TABLE_ENTRY_LEN] = {
+ {"a ", "對", "100"},
+ {"aa ", "對", "100"},
+ {"b ", "八", "100"},
+ {"ba ", "不", "100"},
+};