From 92c24df7352cb464833d8917e888c31eee8f3999 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 23 Feb 1999 06:13:14 +0000 Subject: [PATCH] Fix bug: when running something in a REPL buffer, Edwin would completely ignore all input. It turned out that the "select" mechanism was only looking at events for the console window, and not for other windows, so it was blocking indefinitely. --- v7/src/microcode/prntio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/prntio.c b/v7/src/microcode/prntio.c index 683070971..9909db50e 100644 --- a/v7/src/microcode/prntio.c +++ b/v7/src/microcode/prntio.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: prntio.c,v 1.10 1999/01/02 06:11:34 cph Exp $ +$Id: prntio.c,v 1.11 1999/02/23 06:13:14 cph Exp $ Copyright (c) 1993-1999 Massachusetts Institute of Technology @@ -141,7 +141,7 @@ wait_for_multiple_objects_1 (unsigned long n_channels, Tchannel * channels, if (pending_interrupts_p ()) return (-2); } - else if (Screen_PeekEvent (master_tty_window, 0)) + else if (Screen_pending_events_p ()) return (console_index); else { -- 2.25.1