mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
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.
This commit is contained in:
parent
15253448af
commit
1883d299bf
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user