diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-03-26 13:38:30 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-03-26 13:38:30 -0400 |
commit | 662a7842f93c3c89b95697e9a81f277f729e132d (patch) | |
tree | e78dfd9a7535ab7454ae786608cbcd3ea1394d15 /docs/features/misc.rst | |
parent | 990ec45e087aed2a9a6309db893c8a25cb3a89fd (diff) | |
download | cmd2-git-662a7842f93c3c89b95697e9a81f277f729e132d.tar.gz |
Ctrl-C now stops a running text script instead of just the current script command
Diffstat (limited to 'docs/features/misc.rst')
-rw-r--r-- | docs/features/misc.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/features/misc.rst b/docs/features/misc.rst index 0dc1939c..3825065f 100644 --- a/docs/features/misc.rst +++ b/docs/features/misc.rst @@ -104,10 +104,10 @@ method be called. Quit on SIGINT -------------- -On many shells, SIGINT (most often triggered by the user pressing Ctrl+C) only -cancels the current line, not the entire command loop. By default, a ``cmd2`` -application will quit on receiving this signal. However, if ``quit_on_sigint`` -is set to ``False``, then the current line will simply be cancelled. +On many shells, SIGINT (most often triggered by the user pressing Ctrl+C) +while at the prompt only cancels the current line, not the entire command +loop. By default, a ``cmd2`` application matches this behavior. However, if +``quit_on_sigint`` is set to ``True``, the command loop will quit instead. :: |