summaryrefslogtreecommitdiff
path: root/im.h
diff options
context:
space:
mode:
authorHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2025-09-06 13:33:22 -0700
committerHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2025-09-06 13:33:22 -0700
commit8fe3f476f0d443ea21fb5f3986156fbd31bcdff3 (patch)
tree47ea3e8af2d3ba4c46c74056c152b481c7faa5b9 /im.h
parent4ae94b6e326486679495f2720022a1f310837f23 (diff)
fixed im toggle passthrough bug
Diffstat (limited to 'im.h')
-rw-r--r--im.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/im.h b/im.h
index dc171a8..47d0511 100644
--- a/im.h
+++ b/im.h
@@ -87,6 +87,8 @@ int update_im_state(char input, char * output) {
if (!im_on) {
clear_im_buffer();
}
+ //do not passthrough the toggle
+ return 0;
}
//just passthrough if the im is off
if (!im_on) {