aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index 01ad4e1e..e7dafdfc 100644
--- a/commands.c
+++ b/commands.c
@@ -7,6 +7,7 @@
#include "render.h"
#include "selection.h"
#include "terminal.h"
+#include "url-mode.h"
#include "util.h"
void
@@ -14,6 +15,8 @@ cmd_scrollback_up(struct terminal *term, int rows)
{
if (term->grid == &term->alt)
return;
+ if (urls_mode_is_active(term))
+ return;
if (term->mouse_tracking != MOUSE_NONE)
return;
@@ -92,6 +95,8 @@ cmd_scrollback_down(struct terminal *term, int rows)
{
if (term->grid == &term->alt)
return;
+ if (urls_mode_is_active(term))
+ return;
if (term->mouse_tracking != MOUSE_NONE)
return;