aboutsummaryrefslogtreecommitdiff
path: root/tty-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-write.c')
-rw-r--r--tty-write.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tty-write.c b/tty-write.c
index a776ca57..62adb8b2 100644
--- a/tty-write.c
+++ b/tty-write.c
@@ -1,4 +1,4 @@
-/* $Id: tty-write.c,v 1.6 2009-01-14 19:29:32 nicm Exp $ */
+/* $Id: tty-write.c,v 1.7 2009-01-18 12:09:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -45,6 +45,8 @@ tty_vwrite_window(void *ptr, enum tty_cmd cmd, va_list ap)
c = ARRAY_ITEM(&clients, i);
if (c == NULL || c->session == NULL)
continue;
+ if (c->flags & CLIENT_SUSPENDED)
+ continue;
if (c->session->curw->window == wp->window) {
va_copy(aq, ap);