curses woes

Rainy sill at
Tue Jul 10 00:32:40 EDT 2001


I ran into a problem with curses, here's what I'm doing:

while 1:
    c = win.getch()
    if c == curses.KEY_BACKSPACE:

The problem is that backspace key shows up as ^? and doesn't match the above
test. I also tried doing c == 14 but also without luck. I'm using
curses.wrapper() here.

Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at:

More information about the Python-list mailing list