In my kitty-based setup, I observed the following bug:
1. Run cove[1], a toss-based application, in a kitty tab
2. Exit cove
3. Start lazygit[2]
4. Stage some files and enter a commit message
5. Try to press enter and observe garbage appearing in the text box
The bug occurred reliably after running cove, but never occurred if cove
was not run in that tab.
This commit fixes the bug by making the suspend sequence undo the
unsuspend sequence's steps in reverse order.