[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Exiting a program abnormally
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Exiting a program abnormally
- From: Chris Smith <maximinus@xxxxxxxxx>
- Date: Wed, 23 Feb 2005 19:34:09 +0000
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Wed, 23 Feb 2005 14:34:54 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=HpSrhiuoXrIoqKU162yOLFxwumCMfGpq4OR7xCsgO6aJgbO5J/+VtY0JJw55/7Wzrktvn7HSDM7M/g3h1EUrd22oMzBnX3yhBIc+vXzXfNLFu+O60ON4cm4Hib0ov3NoACocSDW1pfREsOeCeVpNXd4/Mq7Mi7ilnnbr2Wt9luw=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Is there an easy way to abnormally exit from a program using pygame?
Running my code in full-screen, I've had to kill X and then log back
in again - very annoying.
I normally use windowed mode but you have to test in all situations.
Was caught out tonight because I commented out the exit code in my gui
:-(
--
Science is open source religion