diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-26 08:16:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-26 08:16:09 +0000 |
| commit | 44d9b7c74fc41e0f6bf47fcb94e69b8147d3fa98 (patch) | |
| tree | 5cc8bbe69d71035cb846fc2030db272ddba024ac /commands.c | |
| parent | Merge branch 'url-launcher-redirect-stdout-stderr' (diff) | |
| parent | url-mode: damage current view before entering URL mode (diff) | |
Merge branch 'url-mode-snapshot-screen-state'
Diffstat (limited to 'commands.c')
| -rw-r--r-- | commands.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |
