Files
neovim/src
Kyle 5b5b7eb8d4 fix(tui): reset cursor to default style when guicursor is disabled #38219
Problem:
Cursor style is not set to default when guicursor is disabled. See
return early when guicursor is disabled (rather than resetting the
cursor style to terminal default).

Solution:
Send the appropriate DECSCUSR sequence to reset the cursor style when
guicursor is disabled.

Note that this does not fix #23122. The CSI sequence sent out depends on
the terminal in question. Ideally, it would would send `\x1b[0 q` to
reset the cursor style; the behavior of this sequence depends on the
terminal and configuration in question. See [Ghostty
docs](https://ghostty.org/docs/vt/csi/decscusr) for more details.

In practice, it sends out `\x1b[2 q` (steady block) for Ghostty, which
seems to be coming from the Unibilium database. I'm not sure what it may
send out for other terminals, but it doesn't exactly reset to the
default style.
2026-03-10 07:03:02 -04:00
..
2023-11-05 20:19:06 +01:00
2025-11-29 23:15:47 -05:00
2025-08-02 15:58:11 -07:00
2025-12-08 01:43:02 -05:00