diff --git a/selection.c b/selection.c index 92bc7514..7a0d6960 100644 --- a/selection.c +++ b/selection.c @@ -20,7 +20,8 @@ static bool selection_enabled(const struct terminal *term) { - return term->mouse_tracking == MOUSE_NONE; + return (term->mouse_tracking != MOUSE_DRAG && + term->mouse_tracking != MOUSE_MOTION); } static char *