##// END OF EJS Templates
custom keyboard interrupt handling in ask_yes_no...
custom keyboard interrupt handling in ask_yes_no Sometimes, Ctrl-C just makes sense as an answer, and re-asking the question is just frustrating. This changes makes it possible to break out of the asking loop via Ctrl-C. This is particularly handy for asking questions from the command line, where one expects Ctrl-c to be a sort of "Cancel" operation, and is often functionally equivalent to "no"

File last commit:

r11067:5076556c
r13609:73441e41
Show More
nonascii2.py
4 lines | 155 B | text/x-python | PythonLexer
# coding: iso-8859-5
# (Unlikely to be the default encoding for most testers.)
# БЖџрстуфхцчшщъыьэюя <- Cyrillic characters
'Ўт№Ф'