diff options
author | Skyler Hawthorne | 2022-10-03 15:35:42 +0000 |
---|---|---|
committer | GitHub | 2022-10-03 15:35:42 +0000 |
commit | 27b70696df78430c5596cb7681be496ac305ec05 (patch) | |
tree | 33b023637a90b196673feca96fcbdd464e416ef2 /helix-tui/src/backend | |
parent | 6cca7375ec1965e61c791bbe738c617ea43c6dce (diff) |
Exit gracefully when close operation fails (#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.
Diffstat (limited to 'helix-tui/src/backend')
0 files changed, 0 insertions, 0 deletions