[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Exiting a program abnormally



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