##// 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"
Paul Ivanov -
r13609:73441e41
Show More
Name Size Modified Last Commit Author
/ IPython / core / tests
2x2.jpg Loading ...
2x2.png Loading ...
__init__.py Loading ...
daft_extension.py Loading ...
nonascii.py Loading ...
nonascii2.py Loading ...
print_argv.py Loading ...
refbug.py Loading ...
simpleerr.py Loading ...
tclass.py Loading ...
test_alias.py Loading ...
test_application.py Loading ...
test_autocall.py Loading ...
test_compilerop.py Loading ...
test_completer.py Loading ...
test_completerlib.py Loading ...
test_debugger.py Loading ...
test_display.py Loading ...
test_extension.py Loading ...
test_formatters.py Loading ...
test_handlers.py Loading ...
test_history.py Loading ...
test_hooks.py Loading ...
test_imports.py Loading ...
test_inputsplitter.py Loading ...
test_inputtransformer.py Loading ...
test_interactiveshell.py Loading ...
test_iplib.py Loading ...
test_logger.py Loading ...
test_magic.py Loading ...
test_magic_arguments.py Loading ...
test_magic_terminal.py Loading ...
test_oinspect.py Loading ...
test_page.py Loading ...
test_prefilter.py Loading ...
test_profile.py Loading ...
test_prompts.py Loading ...
test_pylabtools.py Loading ...
test_run.py Loading ...
test_shellapp.py Loading ...
test_splitinput.py Loading ...
test_ultratb.py Loading ...