unicode-mode: ‘q’ aborts Unicode input mode

This commit is contained in:
Daniel Eklöf 2022-07-29 11:56:41 +02:00
parent 001f96c4e3
commit 0cbd99710b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 2 additions and 1 deletions

View file

@ -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)))