Files
Tim Culverhouse 3141dc6027 output: explicitly disable mouse and enable cursor on exit
SAVE_PRIVATE_MODE_VALUES and RESTORE_PRIVATE_MODE_VALUES when passed
with no modes are a Kitty extension to XTSAVE and XTRESTORE which
saves/restores *all* private modes. To my knowledge, Kitty is the only
terminal which implements this extension.CLEAR_SCREEN

As a result, when exiting awrit in a terminal which *does not* use this
extensions, the cursor is left hidden and mouse mode is left enabled.
Explicitly disable requested mouse reporting modes and show the cursor.

Reference: https://github.com/ghostty-org/ghostty/discussions/2732
2024-12-19 12:59:23 -06:00
..
2023-05-13 16:20:36 +08:00
2023-05-20 19:15:21 +08:00
2023-05-13 16:20:36 +08:00