Make buffered console characters visible to select().

This commit is contained in:
John Hood 2016-01-30 17:36:43 -05:00 committed by Corinna Vinschen
parent 10e0db58e4
commit 7eb13b33e4
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,7 @@ fhandler_console::select_read (select_stuff *ss)
s->peek = peek_console;
s->h = get_handle ();
s->read_selected = true;
s->read_ready = false;
s->read_ready = get_readahead_valid();
return s;
}