From: Stefan Monnier Date: Thu, 20 Sep 2007 21:21:08 +0000 (+0000) Subject: (tty_read_avail_input): Use terminal->name as liveness status. X-Git-Tag: emacs-pretest-23.0.90~10809 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bcc3646eaa7f8224fb4141730665f8e29ced0776;p=emacs.git (tty_read_avail_input): Use terminal->name as liveness status. --- diff --git a/src/keyboard.c b/src/keyboard.c index f0f2f8c897f..1a09436557e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7093,7 +7093,7 @@ tty_read_avail_input (struct terminal *terminal, struct tty_display_info *tty = terminal->display_info.tty; int nread = 0; - if (terminal->deleted) /* Don't read from a deleted terminal. */ + if (!terminal->name) /* Don't read from a dead terminal. */ return; if (terminal->type != output_termcap)