aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-10-27 15:09:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-10-27 15:09:39 +0000
commit329ad665682df4d76ab0b6fab685878ebc733967 (patch)
treeb4deeb6048a15d72b9b70def7a7765cedec28b0e /commands.c
parentMerge branch 'noop-key-binding' (diff)
parentinput: clean up mouse scroll handling (diff)
Merge branch 'scrolling-fixes'
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/commands.c b/commands.c
index e7dafdfc..4b0306aa 100644
--- a/commands.c
+++ b/commands.c
@@ -18,9 +18,6 @@ cmd_scrollback_up(struct terminal *term, int rows)
if (urls_mode_is_active(term))
return;
- if (term->mouse_tracking != MOUSE_NONE)
- return;
-
rows = min(rows, term->rows);
xassert(term->grid->offset >= 0);
@@ -98,9 +95,6 @@ cmd_scrollback_down(struct terminal *term, int rows)
if (urls_mode_is_active(term))
return;
- if (term->mouse_tracking != MOUSE_NONE)
- return;
-
if (term->grid->view == term->grid->offset)
return;