Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tui: explicitly turn off in-band resize mode
Explicitly turn off in-band resize notifications if they were requested as part of the loop. Kitty implicitly resets this mode when `XTRESTORE` (`CSI ? r`) is seen, however some terminals implementing mode 2048 (eg foot and Ghostty) follow the xterm behavior of only restoring the state of explicitly passed modes. Some of the kittens have become very useful outside of just Kitty (`show-key`, for example). Add an explicit reset of mode 2048 to support the behavior of other terminal emulators.
- Loading branch information