Freeze output when showing display line, fixes problems when no status line.

This commit is contained in:
Nicholas Marriott
2008-06-20 06:36:01 +00:00
parent 89ea06e0a1
commit 17fde823a8
4 changed files with 20 additions and 10 deletions

5
tty.c
View File

@ -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 <nicm@users.sourceforge.net>
@ -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);