curses troubles

A.M. Kuchling amk at
Mon Sep 30 17:42:13 EDT 2002

In article <mailman.1033018391.15538.python-list at>, Kat & Huw wrote:
> Now, when running this, if I hit either G or P, the applications
>closes as if I'd hit Q 
> any idea what I'm doing wrong here?

Perhaps your application is raising some exception, but the traceback
isn't being displayed because of the terminal mode.  The curses module
contains a wrapper(func, *args) function that will set up the curses
screen and call func(), which should be your main function.  If func()
raises an uncaught exception, wrapper() will restore the terminal mode
and let the traceback be printed.  Maybe that will help.


More information about the Python-list mailing list