mirror of
https://github.com/tmux/tmux.git
synced 2024-11-05 02:18:47 +00:00
Sync OpenBSD patchset 417:
Stop updating the screen when not in output mode, stops copy mode getting confused.
This commit is contained in:
parent
2f14ef61ff
commit
9463492ac1
5
window.c
5
window.c
@ -1,4 +1,4 @@
|
||||
/* $Id: window.c,v 1.115 2009-10-12 00:35:08 tcunha Exp $ */
|
||||
/* $Id: window.c,v 1.116 2009-10-23 17:09:21 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -639,6 +639,9 @@ window_pane_parse(struct window_pane *wp)
|
||||
{
|
||||
size_t new_size;
|
||||
|
||||
if (wp->mode != NULL)
|
||||
return;
|
||||
|
||||
new_size = BUFFER_USED(wp->in) - wp->pipe_off;
|
||||
if (wp->pipe_fd != -1 && new_size > 0)
|
||||
buffer_write(wp->pipe_buf, BUFFER_OUT(wp->in), new_size);
|
||||
|
Loading…
Reference in New Issue
Block a user