aboutsummaryrefslogtreecommitdiff
path: root/unicode-mode.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-07-29 09:56:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-07-29 09:56:41 +0000
commit0cbd99710b9d9ff5116c39e1d989556a6d7c27a8 (patch)
tree78a6b1e38f9d81ca7814e20c3e82df3cc373f9ad /unicode-mode.c
parentunicode-input: move input (key press) handling to unicode_mode_input() (diff)
unicode-mode: ‘q’ aborts Unicode input mode
Diffstat (limited to 'unicode-mode.c')
-rw-r--r--unicode-mode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unicode-mode.c b/unicode-mode.c
index 6b4b6050..a69601ec 100644
--- a/unicode-mode.c
+++ b/unicode-mode.c
@@ -68,6 +68,7 @@ unicode_mode_input(struct seat *seat, struct terminal *term,
}
else if (sym == XKB_KEY_Escape ||
+ sym == XKB_KEY_q ||
(seat->kbd.ctrl && (sym == XKB_KEY_c ||
sym == XKB_KEY_d ||
sym == XKB_KEY_g)))