summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-10-19 22:02:16 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-10-19 22:02:16 (GMT)
commit8413b47ba78c0d98f4310d2d62bb0d88ecb96a53 (patch)
treef17059bae8c1ff2e620c6273c74377622ff655b7 /Mac/Python
parentf1a0a4be630c16e287578977627225b05b9c7292 (diff)
downloadcpython-8413b47ba78c0d98f4310d2d62bb0d88ecb96a53.zip
cpython-8413b47ba78c0d98f4310d2d62bb0d88ecb96a53.tar.gz
cpython-8413b47ba78c0d98f4310d2d62bb0d88ecb96a53.tar.bz2
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.
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macmain.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 8d2d8f7..a96af4b 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -539,6 +539,15 @@ Py_Main(argc, argv)
}
/*
+** Reset the "unseen output" flag
+*/
+void
+PyMac_OutputSeen()
+{
+ gusisioux_state = GUSISIOUX_STATE_LASTREAD;
+}
+
+/*
** Terminate application
*/
void