diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-10-21 17:21:56 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-10-21 17:21:56 -0400 |
commit | 8ae418d33320135a4eea3c864065aa6868497eeb (patch) | |
tree | 0f63a9be2b8e55a2a9db7a29ef1fd85a6ad819ea /docs | |
parent | 7b2603e550deeb98399473f2c17535ac740b2c1a (diff) | |
download | cmd2-git-8ae418d33320135a4eea3c864065aa6868497eeb.tar.gz |
cmdloop now checks to see if it is running in the main thread before attempting to register a signal handler for SIGINT
Diffstat (limited to 'docs')
-rw-r--r-- | docs/settingchanges.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/settingchanges.rst b/docs/settingchanges.rst index 25a671ab..1399c9fe 100644 --- a/docs/settingchanges.rst +++ b/docs/settingchanges.rst @@ -140,6 +140,10 @@ set to ``False``, then the current line will simply be cancelled. (Cmd) typing a comma^C (Cmd) +.. warning:: + The default SIGINT behavior will only function properly if **cmdloop** is running + in the main thread. + Timing ====== |