Fix selection test, from Takeshi Banse.

This commit is contained in:
nicm 2018-09-03 08:47:27 +00:00
parent 95e3e363ff
commit 9bab73f489
1 changed files with 1 additions and 1 deletions

View File

@ -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) ||