lune
lune copied to clipboard
Provide a way to listen to SIGINT and other process events
Lune currently has no way to listen to an attempt to close the process, which makes it impossible to handle things like graceful exits.
The lack of this feature results in various issues, such as
this happening when using ANSI escape codes. I feel like this feature is essential for a lot of CLI tools.