Add graceful exit. #11

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

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 milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thetxt/oxide#11
No description provided.