diff options
author | Reto Brunner <reto@labrat.space> | 2021-02-11 21:02:46 +0100 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2021-02-11 21:02:46 +0100 |
commit | c06a2e61fc32051d429dbbaf4dc3cc0019f4a69c (patch) | |
tree | f340e063d6daf73eeaa05bb9ad2233dae657d0a8 /commands/util.go | |
parent | 8ecf0b73f41f9319f9d89d61f8d4619aa4e69758 (diff) | |
download | aerc-c06a2e61fc32051d429dbbaf4dc3cc0019f4a69c.tar.gz |
aerc: try to recover from a panic
As of now we crash fairly often. The problem is that we didn't run the cleanup routine of the ui in this case, leaving the pty in a bad state. Instead, recover from a panic and at least try to run the ui deinit.
Diffstat (limited to 'commands/util.go')
0 files changed, 0 insertions, 0 deletions