Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exit gracefully when close operation fails (helix-editor#4081)
If the close method fails, the editor will quit before restoring the terminal. This causes the shell to break if, e.g. the LS times out shutting down. This fixes this by always restoring the terminal after closing, and printing out a message to stderr if there is an error.
- Loading branch information