aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-09 17:40:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-09 17:40:48 +0000
commit2e3bd5e23c68280ec95498a4afe176b5f94964e0 (patch)
tree516fff6f5dab20d900394a8bc4277d2aa6924ab5 /wayland.h
parentconfig: spelling: mosue -> mouse (diff)
config: add scrollback-{up,down}-half key bindings
These new bindings scroll up/down half a page in the scrollback (instead of the full page scrolled by ‘scrollback-{up,down}’). Closes #128.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index e12d816a..24b8c7b0 100644
--- a/wayland.h
+++ b/wayland.h
@@ -27,7 +27,9 @@ typedef tll(struct key_binding) key_binding_list_t;
enum bind_action_normal {
BIND_ACTION_NONE,
BIND_ACTION_SCROLLBACK_UP,
+ BIND_ACTION_SCROLLBACK_UP_HALF,
BIND_ACTION_SCROLLBACK_DOWN,
+ BIND_ACTION_SCROLLBACK_DOWN_HALF,
BIND_ACTION_CLIPBOARD_COPY,
BIND_ACTION_CLIPBOARD_PASTE,
BIND_ACTION_PRIMARY_PASTE,