diff Mac/Python/macmain.c @ 5431:a56b44b35505 legacy-trunk

Workaround for bug in MSL and CWGUSI interaction that stopped the "don't close window on exit" feature to work.
author Jack Jansen <jack.jansen@cwi.nl>
date Wed, 07 May 1997 15:48:54 +0000
parents de9d0c5249b0
children 70855574516b
line wrap: on
line diff
--- a/Mac/Python/macmain.c	Wed May 07 15:48:01 1997 +0000
+++ b/Mac/Python/macmain.c	Wed May 07 15:48:54 1997 +0000
@@ -454,6 +454,13 @@
 		SIOUXSettings.standalone = 1;
 		SIOUXSettings.autocloseonquit = 0;
 		SIOUXSetTitle("\p\307terminated\310");
+#ifdef USE_MSL
+		/*
+		** Temporary workaround: autocloseonquit clearing does not
+		** currently work for the MSL/GUSI combo.
+		*/
+		while(getchar() > 0);
+#endif
 	}
 	else
 		SIOUXSettings.autocloseonquit = 1;