Message182137
If I've initialized a window in curses, try to get a single character with get_wch() and press Ctrl+C, the program crashes even if I handle KeyboardInterrupt. Here's a code example.
import curses
scr = curses.initscr()
try:
char = scr.get_wch()
except KeyboardInterrupt:
pass
With getch() instead of get_wch() it works though. |
|
Date |
User |
Action |
Args |
2013-02-15 12:34:24 | raymontag | set | recipients:
+ raymontag |
2013-02-15 12:34:24 | raymontag | set | messageid: <1360931664.77.0.750623076852.issue17209@psf.upfronthosting.co.za> |
2013-02-15 12:34:24 | raymontag | link | issue17209 messages |
2013-02-15 12:34:24 | raymontag | create | |
|