mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Don't continue to write into panes that are scheduled for redraw.
This commit is contained in:
parent
15f2491023
commit
72dab09f81
@ -1,4 +1,4 @@
|
||||
/* $Id: tty-write.c,v 1.13 2009-04-02 20:30:23 nicm Exp $ */
|
||||
/* $Id: tty-write.c,v 1.14 2009-04-02 21:15:56 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -42,7 +42,7 @@ tty_vwrite_cmd(struct window_pane *wp, enum tty_cmd cmd, va_list ap)
|
||||
if (wp == NULL)
|
||||
return;
|
||||
|
||||
if (wp->window->flags & WINDOW_REDRAW)
|
||||
if (wp->window->flags & WINDOW_REDRAW || wp->flags & PANE_REDRAW)
|
||||
return;
|
||||
if (wp->window->flags & WINDOW_HIDDEN || wp->flags & PANE_HIDDEN)
|
||||
return;
|
||||
@ -73,7 +73,7 @@ tty_write_mode(struct window_pane *wp, int mode)
|
||||
if (wp == NULL)
|
||||
return;
|
||||
|
||||
if (wp->window->flags & WINDOW_REDRAW)
|
||||
if (wp->window->flags & WINDOW_REDRAW || wp->flags & PANE_REDRAW)
|
||||
return;
|
||||
if (wp->window->flags & WINDOW_HIDDEN || wp->flags & PANE_HIDDEN)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user