diff Mac/Python/macmain.c @ 15280:a5ca54969a3f legacy-trunk

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.
author Jack Jansen <jack.jansen@cwi.nl>
date Thu, 19 Oct 2000 22:02:16 +0000
parents 1c63e224f616
children eff11fac5f36
line wrap: on
line diff
--- a/Mac/Python/macmain.c	Thu Oct 19 22:00:01 2000 +0000
+++ b/Mac/Python/macmain.c	Thu Oct 19 22:02:16 2000 +0000
@@ -539,6 +539,15 @@
 }
 
 /*
+** Reset the "unseen output" flag
+*/
+void
+PyMac_OutputSeen()
+{
+	gusisioux_state = GUSISIOUX_STATE_LASTREAD;
+}
+
+/*
 ** Terminate application
 */
 void