Add graceful exit. #11

Open
opened 2025-09-02 11:14:28 +02:00 by Opoodoop · 1 comment

Catch and gracefully handle ^C and or add a 'exit' command that saves and quits without data loss of unsaved content.

Catch and gracefully handle ^C and or add a 'exit' command that saves and quits without data loss of unsaved content.
Owner

looked into a little while ago and found that gracefully handling signals isn't that easy in Rust, especially without external dependencies.
A basic exit command as a stopgap sounds like a good idea until I have more time to investigate though.

looked into a little while ago and found that gracefully handling signals isn't that easy in Rust, especially without external dependencies. A basic exit command as a stopgap sounds like a good idea until I have more time to investigate though.
Sign in to join this conversation.
No description provided.