ChrisBuilds / terminaltexteffects

TerminalTextEffects (TTE) is a terminal visual effects engine, application, and Python library.
https://chrisbuilds.github.io/terminaltexteffects/
MIT License
2.82k stars 49 forks source link

^C should not print anything #24

Closed adavies42 closed 4 months ago

adavies42 commented 4 months ago

Stopping tte with ^C prints a Python stacktrace; the correct Unix behavior for this kind of tool is to print nothing and exit with status 130 (2 (SIGINT) + 128). tte should either have a SIGINT handler or it should catch KeyboardInterrupt (or both).

ChrisBuilds commented 4 months ago

I agree. I'll add this very soon.

ChrisBuilds commented 4 months ago

This has been added and will be in the next release.