aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/selection.c b/selection.c
index 7c3d4826..586b1c3d 100644
--- a/selection.c
+++ b/selection.c
@@ -20,8 +20,7 @@
static bool
selection_enabled(const struct terminal *term)
{
- return (term->mouse_tracking != MOUSE_DRAG &&
- term->mouse_tracking != MOUSE_MOTION);
+ return term->mouse_tracking == MOUSE_NONE || term->kbd.shift;
}
bool