Skip to content

Commit

Permalink
Handle Ctrl-C in shell
Browse files Browse the repository at this point in the history
  • Loading branch information
stuaxo committed May 27, 2018
1 parent b259be1 commit e80a113
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shoebot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def run(src,
try:
shell.cmdloop()
except KeyboardInterrupt as e:
publish_event(QUIT_EVENT) # Handle Ctrl-C
# KeyboardInterrupt is generated by os.kill from the other thread
if verbose:
raise
Expand Down

0 comments on commit e80a113

Please sign in to comment.