diff options
author | Yoshimasa Niwa <niw@niw.at> | 2024-04-22 17:17:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 08:17:43 +0800 |
commit | cb2b5e2780a6de8a3f3cad84cad7318535571a68 (patch) | |
tree | 9f2418e3d153976f6a8744c2fc85f9ec11c5cd2a /test/functional/vimscript/input_spec.lua | |
parent | 39fc340276a4fdbe1f1bb4bfbe7328267ad7f9d6 (diff) | |
download | rneovim-cb2b5e2780a6de8a3f3cad84cad7318535571a68.tar.gz rneovim-cb2b5e2780a6de8a3f3cad84cad7318535571a68.tar.bz2 rneovim-cb2b5e2780a6de8a3f3cad84cad7318535571a68.zip |
fix(tui): disable DECRQM and DECRQSS queries for Terminal.app (#28453)
**Problems**
When launching Neovim on Terminal.app on macOS (Apple Terminal),
it briefly shows like
`p$qm+q5463;524742;73657472676266;73657472676262$qm` in orange
background color partially on the screen.
**Solution**
Since Terminal.app seems not supporting DECRQM and DECRQSS queries,
calling `tui_request_term_mode` and `tui_query_extended_underline`
caused this unexpected output.
Therefore, if we know it's Apple Terminal (when `nsterm` is `true`),
don't call these checks.
Tested on Terminal.app (2.14, 453) on macOS 14.4.1.
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Diffstat (limited to 'test/functional/vimscript/input_spec.lua')
0 files changed, 0 insertions, 0 deletions