mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
unicode-mode: ‘q’ aborts Unicode input mode
This commit is contained in:
parent
001f96c4e3
commit
0cbd99710b
2 changed files with 2 additions and 1 deletions
|
|
@ -806,7 +806,7 @@ e.g. *search-start=none*.
|
||||||
Recognized key bindings in Unicode input mode:
|
Recognized key bindings in Unicode input mode:
|
||||||
|
|
||||||
- Enter, Space: commit the Unicode character, then exit this mode.
|
- Enter, Space: commit the Unicode character, then exit this mode.
|
||||||
- Escape, Ctrl+c, Ctrl+d, Ctrl+g: abort input, then exit this mode.
|
- Escape, q, Ctrl+c, Ctrl+d, Ctrl+g: abort input, then exit this mode.
|
||||||
- 0-9, a-f: append next digit to the Unicode's codepoint.
|
- 0-9, a-f: append next digit to the Unicode's codepoint.
|
||||||
- Backspace: undo the last digit.
|
- Backspace: undo the last digit.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ unicode_mode_input(struct seat *seat, struct terminal *term,
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (sym == XKB_KEY_Escape ||
|
else if (sym == XKB_KEY_Escape ||
|
||||||
|
sym == XKB_KEY_q ||
|
||||||
(seat->kbd.ctrl && (sym == XKB_KEY_c ||
|
(seat->kbd.ctrl && (sym == XKB_KEY_c ||
|
||||||
sym == XKB_KEY_d ||
|
sym == XKB_KEY_d ||
|
||||||
sym == XKB_KEY_g)))
|
sym == XKB_KEY_g)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue