aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index 1ed965ff..07b744cb 100644
--- a/tty.c
+++ b/tty.c
@@ -529,6 +529,7 @@ tty_write(void (*cmdfn)(
struct client *c;
u_int i;
+ /* wp can be NULL if updating the screen but not the terminal. */
if (wp == NULL)
return;