mirror of
https://github.com/tmux/tmux.git
synced 2026-02-16 19:29:15 +00:00
Merge branch 'master' into floating_panes
This commit is contained in:
@@ -2708,6 +2708,11 @@ window_copy_cmd_refresh_from_pane(struct window_copy_cmd_state *cs)
|
||||
data->backing = window_copy_clone_screen(&wp->base, &data->screen, NULL,
|
||||
NULL, wme->swp != wme->wp);
|
||||
|
||||
if (data->oy > screen_hsize(data->backing)) {
|
||||
data->cy = 0;
|
||||
data->oy = screen_hsize(data->backing);
|
||||
}
|
||||
|
||||
window_copy_size_changed(wme);
|
||||
return (WINDOW_COPY_CMD_REDRAW);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user