aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
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,
7093 struct tty_display_info *tty = terminal->display_info.tty; 7093 struct tty_display_info *tty = terminal->display_info.tty;
7094 int nread = 0; 7094 int nread = 0;
7095 7095
7096 if (terminal->deleted) /* Don't read from a deleted terminal. */ 7096 if (!terminal->name) /* Don't read from a dead terminal. */
7097 return; 7097 return;
7098 7098
7099 if (terminal->type != output_termcap) 7099 if (terminal->type != output_termcap)