From 58d0657a97d9e9f7c31ac7306ba7e2912821ebb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 27 Aug 2019 20:57:58 +0200 Subject: [PATCH] selection: allow selections while searching scrollback --- selection.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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