selection: allow selections while searching scrollback

This commit is contained in:
Daniel Eklöf 2019-08-27 20:57:58 +02:00
parent 2895f8fa10
commit 58d0657a97
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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