diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-04-30 12:41:02 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-04-30 13:12:23 -0400 |
| commit | 79bf87d1e333ea5fe0dfeb61c707eb9bddfd0255 (patch) | |
| tree | 1e04c689b17f752732c67a10bcc76cb4cf4bee1a /docs/features/misc.rst | |
| parent | 37d415b4bbfd6efd383a20062df68f627451ccf7 (diff) | |
| download | cmd2-git-79bf87d1e333ea5fe0dfeb61c707eb9bddfd0255.tar.gz | |
Removed cmd2.Cmd.quit_on_sigint.
Diffstat (limited to 'docs/features/misc.rst')
| -rw-r--r-- | docs/features/misc.rst | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/features/misc.rst b/docs/features/misc.rst index 3825065f..c2f14b5b 100644 --- a/docs/features/misc.rst +++ b/docs/features/misc.rst @@ -99,21 +99,3 @@ method be called. (Cmd) my dog has fleas sh: my: not found *** Unknown syntax: my dog has fleas - - -Quit on SIGINT --------------- - -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. - -:: - - (Cmd) typing a comma^C - (Cmd) - -.. warning:: - The default SIGINT behavior will only function properly if **cmdloop** is running - in the main thread. |
