aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorKyle <50718101+kylesower@users.noreply.github.com>2026-03-10 06:03:02 -0500
committerGitHub <noreply@github.com>2026-03-10 07:03:02 -0400
commit5b5b7eb8d4b9af8447d224241838e0fed8471fa6 (patch)
treeee7c39196b90fb567e66a7a3d334b82605d4ddf5 /runtime/syntax/python.vim
parent4fb0f95330c6577fa7c6c807306bbdc3b645a646 (diff)
downloadrneovim-5b5b7eb8d4b9af8447d224241838e0fed8471fa6.tar.gz
rneovim-5b5b7eb8d4b9af8447d224241838e0fed8471fa6.tar.bz2
rneovim-5b5b7eb8d4b9af8447d224241838e0fed8471fa6.zip
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.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions