aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-10 20:57:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-10 20:57:55 +0000
commit8716430450b551d9a170dbd6d79ed0ebfbb364e2 (patch)
tree33a2c076bae4f9c08bc34a46866567506d49064a /input.c
parentvt: tag cells that were form-feed:ed, to allow correct text reflow (diff)
input: ctrl+= increases font size, not resets it
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 21fc6f37..77355918 100644
--- a/input.c
+++ b/input.c
@@ -386,7 +386,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
}
else if (effective_mods == ctrl) {
- if (sym == XKB_KEY_plus || sym == XKB_KEY_KP_Add) {
+ if (sym == XKB_KEY_equal || sym == XKB_KEY_plus || sym == XKB_KEY_KP_Add) {
term_font_size_increase(term);
goto maybe_repeat;
}
@@ -396,7 +396,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
goto maybe_repeat;
}
- else if (sym == XKB_KEY_0 || sym == XKB_KEY_equal || sym == XKB_KEY_KP_Equal || sym == XKB_KEY_KP_0) {
+ else if (sym == XKB_KEY_0 || sym == XKB_KEY_KP_Equal || sym == XKB_KEY_KP_0) {
term_font_size_reset(term);
goto maybe_repeat;
}