diff --git a/window-copy.c b/window-copy.c index 5065df0d..6ef4b29d 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1810,6 +1810,7 @@ window_copy_clear_selection(struct window_pane *wp) screen_clear_selection(&data->screen); data->cursordrag = CURSORDRAG_NONE; + data->lineflag = LINE_SEL_NONE; py = screen_hsize(data->backing) + data->cy - data->oy; px = window_copy_find_length(wp, py);