mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 05:54:47 +02:00
Freeze output when showing display line, fixes problems when no status line.
This commit is contained in:
5
tty.c
5
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 <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);
|
||||
|
Reference in New Issue
Block a user