mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
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:
parent
f1a0a4be63
commit
8413b47ba7
3 changed files with 23 additions and 0 deletions
|
@ -538,6 +538,15 @@ Py_Main(argc, argv)
|
|||
/*NOTREACHED*/
|
||||
}
|
||||
|
||||
/*
|
||||
** Reset the "unseen output" flag
|
||||
*/
|
||||
void
|
||||
PyMac_OutputSeen()
|
||||
{
|
||||
gusisioux_state = GUSISIOUX_STATE_LASTREAD;
|
||||
}
|
||||
|
||||
/*
|
||||
** Terminate application
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue