Other Module
Error handling for expected / unexpected exceptions on non-Windows systems.
- cli_command_parser.error_handling.other.handle_kb_interrupt(exc: KeyboardInterrupt) int [source]
Handles
KeyboardInterrupt
by callingprint()
to avoid ending the program in a way that causes the next terminal prompt to be printed on the same line as the last (possibly incomplete) line of output.