remove inappropriate PDCURSES use of stdin,stdout
Use of stdout and stdin was inappropriate for general curses. Windows GUI links with PDCURSES wingui code.
This commit is contained in:
@@ -860,6 +860,7 @@ void
|
||||
curses_wait_synch(void)
|
||||
{
|
||||
if (iflags.raw_printed) {
|
||||
#ifndef PDCURSES
|
||||
int chr;
|
||||
/*
|
||||
* If any message has been issued via raw_print(), make the user
|
||||
@@ -873,6 +874,7 @@ curses_wait_synch(void)
|
||||
do {
|
||||
chr = fgetc(stdin);
|
||||
} while (chr > 0 && chr != C('j') && chr != C('m') && chr != '\033');
|
||||
#endif
|
||||
iflags.raw_printed = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user