aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/input.c b/input.c
index f24ec128..65dbba0b 100644
--- a/input.c
+++ b/input.c
@@ -88,21 +88,31 @@ execute_binding(struct seat *seat, struct terminal *term,
return true;
case BIND_ACTION_SCROLLBACK_UP:
+ case BIND_ACTION_SCROLLBACK_UP_PAGE:
cmd_scrollback_up(term, term->rows);
return true;
- case BIND_ACTION_SCROLLBACK_UP_HALF:
+ case BIND_ACTION_SCROLLBACK_UP_HALF_PAGE:
cmd_scrollback_up(term, max(term->rows / 2, 1));
return true;
+ case BIND_ACTION_SCROLLBACK_UP_LINE:
+ cmd_scrollback_up(term, 1);
+ return true;
+
case BIND_ACTION_SCROLLBACK_DOWN:
+ case BIND_ACTION_SCROLLBACK_DOWN_PAGE:
cmd_scrollback_down(term, term->rows);
return true;
- case BIND_ACTION_SCROLLBACK_DOWN_HALF:
+ case BIND_ACTION_SCROLLBACK_DOWN_HALF_PAGE:
cmd_scrollback_down(term, max(term->rows / 2, 1));
return true;
+ case BIND_ACTION_SCROLLBACK_DOWN_LINE:
+ cmd_scrollback_down(term, 1);
+ return true;
+
case BIND_ACTION_CLIPBOARD_COPY:
selection_to_clipboard(seat, term, serial);
return true;