From 17fde823a88897e375735065a05fa1f8943df0bc Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 20 Jun 2008 06:36:01 +0000 Subject: Freeze output when showing display line, fixes problems when no status line. --- tty.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index 503ea365..91f3361b 100644 --- a/tty.c +++ b/tty.c @@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.29 2008-06-19 23:07:11 nicm Exp $ */ +/* $Id: tty.c,v 1.30 2008-06-20 06:36:01 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -350,6 +350,9 @@ tty_vwrite(struct tty *tty, struct screen *s, int cmd, va_list ap) char ch; u_int i, ua, ub; + if (tty->flags & TTY_FREEZE) + return; + if (tty->term == NULL) /* XXX XXX */ return; set_curterm(tty->term->term); -- cgit