mirror of
https://github.com/tmux/tmux.git
synced 2025-04-17 17:38:48 +00:00
Fix selection test, from Takeshi Banse.
This commit is contained in:
parent
95e3e363ff
commit
9bab73f489
@ -2082,7 +2082,7 @@ window_copy_cursor_up(struct window_pane *wp, int scroll_only)
|
||||
}
|
||||
}
|
||||
|
||||
if (data->screen.sel != NULL || !data->rectflag) {
|
||||
if (data->screen.sel == NULL || !data->rectflag) {
|
||||
py = screen_hsize(data->backing) + data->cy - data->oy;
|
||||
px = window_copy_find_length(wp, py);
|
||||
if ((data->cx >= data->lastsx && data->cx != px) ||
|
||||
|
Loading…
Reference in New Issue
Block a user