Fix movement after select-line, from Omar Sandoval.

pull/834/head
nicm 2017-03-21 09:51:00 +00:00
parent c916feaf29
commit cdaa758340
1 changed files with 1 additions and 1 deletions

View File

@ -2038,7 +2038,7 @@ window_copy_cursor_down(struct window_pane *wp, int scroll_only)
data->lastsx = ox;
}
if (s->sel.lineflag == LINE_SEL_RIGHT_LEFT && oy == data->sely)
if (s->sel.lineflag == LINE_SEL_RIGHT_LEFT && oy == data->endsely)
window_copy_other_end(wp);
data->cx = data->lastcx;