diff options
author | Charlie Groves | 2022-08-31 16:23:21 +0000 |
---|---|---|
committer | GitHub | 2022-08-31 16:23:21 +0000 |
commit | 5c3f43a7f0c5392242424912bde992d9305c0c8e (patch) | |
tree | 95b797c6b96605477868fc4e5174fe27db96b0e3 /helix-term/tests | |
parent | 93c6a337c4f139ce620257fef79f66cf48516d5c (diff) |
Share the restore_term code between panic and normal exits (#3612)
It was starting to diverge as the normal exit code was restoring the prompt but the panic code
wasn't, and the panic code was disabling bracketed paste but the normal code wasn't.
This changes the panic path slightly in that we won't disable raw mode if exiting alternate screen
and disabling bracketed paste fails. If that happens, things are so busted I don't think it matters
anyway.
Diffstat (limited to 'helix-term/tests')
0 files changed, 0 insertions, 0 deletions