lune icon indicating copy to clipboard operation
lune copied to clipboard

Provide a way to listen to SIGINT and other process events

Open VirtualButFake opened this issue 1 year ago • 0 comments

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 direct this happening when using ANSI escape codes. I feel like this feature is essential for a lot of CLI tools.

VirtualButFake avatar Dec 09 '23 14:12 VirtualButFake