diff --git a/tty-write.c b/tty-write.c index 78ac131d..ff9468b4 100644 --- a/tty-write.c +++ b/tty-write.c @@ -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 @@ -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;