mirror of
https://github.com/tmux/tmux.git
synced 2025-01-27 00:18:49 +00:00
Reset line flag when clearing selection, GitHub issue 1454.
This commit is contained in:
parent
f57aa143c1
commit
95e3e363ff
@ -1810,6 +1810,7 @@ window_copy_clear_selection(struct window_pane *wp)
|
|||||||
screen_clear_selection(&data->screen);
|
screen_clear_selection(&data->screen);
|
||||||
|
|
||||||
data->cursordrag = CURSORDRAG_NONE;
|
data->cursordrag = CURSORDRAG_NONE;
|
||||||
|
data->lineflag = LINE_SEL_NONE;
|
||||||
|
|
||||||
py = screen_hsize(data->backing) + data->cy - data->oy;
|
py = screen_hsize(data->backing) + data->cy - data->oy;
|
||||||
px = window_copy_find_length(wp, py);
|
px = window_copy_find_length(wp, py);
|
||||||
|
Loading…
Reference in New Issue
Block a user