diff --git a/window.c b/window.c index 02a3ea21..6f436471 100644 --- a/window.c +++ b/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 @@ -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);