Added PyMac_OutputSeen(), which acknowledges all current output in the stdio window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.

This commit is contained in:
Jack Jansen 2000-10-19 22:02:16 +00:00
parent f1a0a4be63
commit 8413b47ba7
3 changed files with 23 additions and 0 deletions

View file

@ -538,6 +538,15 @@ Py_Main(argc, argv)
/*NOTREACHED*/
}
/*
** Reset the "unseen output" flag
*/
void
PyMac_OutputSeen()
{
gusisioux_state = GUSISIOUX_STATE_LASTREAD;
}
/*
** Terminate application
*/