diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-03-26 15:25:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 15:25:16 -0400 |
commit | 274a57b7aa56cd6b5dabcdc73326dd4d0e45aae3 (patch) | |
tree | cfd3150073e9f0fce61fdc18d17fb49496e66b8a /docs/features/misc.rst | |
parent | 990ec45e087aed2a9a6309db893c8a25cb3a89fd (diff) | |
parent | 38b37a98f3affe8632866177195c2c16a3ef88ed (diff) | |
download | cmd2-git-274a57b7aa56cd6b5dabcdc73326dd4d0e45aae3.tar.gz |
Merge pull request #910 from python-cmd2/ctrl-c-script
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. :: |