aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index 5d20b94b..7dbda291 100644
--- a/commands.c
+++ b/commands.c
@@ -16,6 +16,9 @@ cmd_scrollback_up(struct terminal *term, int rows)
if (term->grid == &term->alt)
return;
+ if (term->mouse_tracking != MOUSE_NONE)
+ return;
+
rows = min(rows, term->rows);
assert(term->grid->offset >= 0);