Make Ctr+-/+ work with numpad keys

This commit is contained in:
Ryan Carins 2019-01-02 15:48:50 +11:00 committed by Jelle van der Waa
parent 1b67c5cdf5
commit 470631b0b7
1 changed files with 2 additions and 0 deletions

View File

@ -1028,9 +1028,11 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
overlay_show(&info->panel, overlay_mode::completion, vte);
return TRUE;
case GDK_KEY_plus:
case GDK_KEY_KP_Add:
increase_font_scale(vte);
return TRUE;
case GDK_KEY_minus:
case GDK_KEY_KP_Subtract:
decrease_font_scale(vte);
return TRUE;
case GDK_KEY_equal: