Add graceful exit. #11
Labels
No labels
complexity
high
complexity
low
complexity
medium
importance
high
importance
low
importance
medium
type
bug
type
chore
type
feature suggestion
type
missing feature
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: thetxt/oxide#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Catch and gracefully handle ^C and or add a 'exit' command that saves and quits without data loss of unsaved content.
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.