Language : MPW C/C++
$Log: MPConsole.cp,v $
+Revision 1.11 2002/05/08 07:17:12 neeri
+Make interrupt act as end of file (MacPerl Bug #542154)
+
Revision 1.10 2002/01/04 03:34:45 pudge
Modifications for universal headers 3.4
avail = int(GetHandleSize(input));
- if (!avail) {
+ if (!avail) {
if (eof) {
eof = false;
GUSIErrorSaver saveError;
gWantConsoleInput = true;
- while(!(avail = int(GetHandleSize(input))) && !eof && window)
+ while(!(avail = int(GetHandleSize(input))) && !eof && window && window->u.cons.selected)
GUSIContext::Yield(kGUSIPoll);
gWantConsoleInput = false;