diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-08-27 18:57:58 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-08-27 18:57:58 +0000 |
| commit | 58d0657a97d9e9f7c31ac7306ba7e2912821ebb2 (patch) | |
| tree | 0fb5bf8bdbb38c8419284e04eafd21fe877e5b75 /selection.c | |
| parent | search: cancel selection and clear match stats when we don't match (diff) | |
selection: allow selections while searching scrollback
Diffstat (limited to 'selection.c')
| -rw-r--r-- | selection.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/selection.c b/selection.c index 45f970f2..c4991906 100644 --- a/selection.c +++ b/selection.c @@ -20,7 +20,10 @@ bool selection_enabled(const struct terminal *term) { - return term->mouse_tracking == MOUSE_NONE || term->kbd.shift; + return + term->mouse_tracking == MOUSE_NONE || + term->kbd.shift || + term->is_searching; } bool |
