diff options
| author | Vadim Misbakh-Soloviov <msva@users.noreply.github.com> | 2026-06-14 22:43:44 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-14 11:43:44 -0400 |
| commit | 224ad8a538e33ce3c868fcad2e9f70a1f7096594 (patch) | |
| tree | 56151249493726b9f78a2d717e056172e67f330b /test/functional/vimscript/executable_spec.lua | |
| parent | 966e7a98f5bc6d17de2076fb064e5a81f8977769 (diff) | |
| download | rneovim-224ad8a538e33ce3c868fcad2e9f70a1f7096594.tar.gz rneovim-224ad8a538e33ce3c868fcad2e9f70a1f7096594.tar.bz2 rneovim-224ad8a538e33ce3c868fcad2e9f70a1f7096594.zip | |
fix(tui): more compatible way to reset cursor #40234
Problem:
All (tested by me) terminals (xterm, st, ghostty, vte, foot, wezterm, konsole) do support `\x1b[0 q` as "reset cursor to default", but at least konsole and wezterm only understands `\x1b[0 q` as "reset to default", but have different behaviour on `\x1b[ q` (konsole sets "steady block", and wezterm does nothing (do not change cursor shape).
Solution:
Use `\x1b[0 q` would be more widely compatible "reset" sequence than `\x1b[ q`
P.S. actually, `xterm`, `ghostty` and `st` (with default config.h) sets "steady block" for both sequence, but still here `[0` behaves the same as `[`
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions