diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-03-09 13:51:05 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-03-09 13:51:05 +0100 |
commit | ddf4126c11823b0563c03bfd13feab6d4d04ccad (patch) | |
tree | 713e8988dc5e68cbd6da12abc1815b11a049f2a8 /src/kmscon_conf.h | |
parent | 9f0bb1262d66fac1f2ca308bde470924e8c48328 (diff) |
kmscon: implement dynamic font-resizing via shortcuts
This implements two new keyboard shortcuts zoom-in and zoom-out that
increase/decrease font size of the current terminal.
This is similar to how wlterm does it and allows runtime modification of
fonts.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'src/kmscon_conf.h')
-rw-r--r-- | src/kmscon_conf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kmscon_conf.h b/src/kmscon_conf.h index b18cc80..4cb4789 100644 --- a/src/kmscon_conf.h +++ b/src/kmscon_conf.h @@ -118,6 +118,10 @@ struct kmscon_conf_t { struct conf_grab *grab_page_up; /* page-down grab */ struct conf_grab *grab_page_down; + /* zoom-in grab */ + struct conf_grab *grab_zoom_in; + /* zoom-out grab */ + struct conf_grab *grab_zoom_out; /* session-next grab */ struct conf_grab *grab_session_next; /* session-prev grab */ |