This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author al65536
Recipients
Date 2007-03-23.20:50:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
#!/usr/bin/python
import curses

# Will works
scr=curses.initscr()
key=-1
try:
    try:
        key=scr.getkey()
    except:
        pass
except KeyboardInterrupt:
    key="CTRL-C"
curses.endwin()
print key

# Will fail
scr=curses.initscr()
key=-1
try:
    key=scr.getkey()
except KeyboardInterrupt:
    key="CTRL-C"
curses.endwin()
print key
History
Date User Action Args
2007-08-23 14:52:44adminlinkissue1687125 messages
2007-08-23 14:52:44admincreate