mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: hook ctrl+{=,0} to term_font_size_reset()
This commit is contained in:
parent
6c0d00fcee
commit
1b81c700f9
1 changed files with 5 additions and 0 deletions
5
input.c
5
input.c
|
|
@ -395,6 +395,11 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
|||
term_font_size_decrease(term);
|
||||
goto maybe_repeat;
|
||||
}
|
||||
|
||||
else if (sym == XKB_KEY_0 || sym == XKB_KEY_equal || sym == XKB_KEY_KP_Equal || sym == XKB_KEY_KP_0) {
|
||||
term_font_size_reset(term);
|
||||
goto maybe_repeat;
|
||||
}
|
||||
}
|
||||
|
||||
else if (effective_mods == (shift | ctrl)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue