aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/input.c b/input.c
index bb225f0c..21fc6f37 100644
--- a/input.c
+++ b/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)) {