mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
Stop updating the screen when not in output mode, stops copy mode getting
confused.
This commit is contained in:
parent
daa26079ee
commit
2afe395ff2
3
window.c
3
window.c
@ -632,6 +632,9 @@ window_pane_parse(struct window_pane *wp)
|
|||||||
{
|
{
|
||||||
size_t new_size;
|
size_t new_size;
|
||||||
|
|
||||||
|
if (wp->mode != NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
new_size = BUFFER_USED(wp->in) - wp->pipe_off;
|
new_size = BUFFER_USED(wp->in) - wp->pipe_off;
|
||||||
if (wp->pipe_fd != -1 && new_size > 0)
|
if (wp->pipe_fd != -1 && new_size > 0)
|
||||||
buffer_write(wp->pipe_buf, BUFFER_OUT(wp->in), new_size);
|
buffer_write(wp->pipe_buf, BUFFER_OUT(wp->in), new_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user