Do not factor in screen_hsize() for the visible copy mode screen when

adjusting the selection, it should never have any useful history (and
when it does, after resize, we shouldn't use it). From Michal Mazurek.
pull/661/merge
nicm 2017-05-29 07:58:33 +00:00
parent 15253448af
commit 1883d299bf
1 changed files with 1 additions and 1 deletions

View File

@ -1458,7 +1458,7 @@ window_copy_adjust_selection(struct window_pane *wp, u_int *selx, u_int *sely)
}
*selx = sx;
*sely = screen_hsize(s) + sy;
*sely = sy;
return (relpos);
}