diff options
| author | Gregory Anders <greg@gpanders.com> | 2024-12-17 07:11:41 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-17 07:11:41 -0600 |
| commit | 0dd933265ff2e64786fd30f949e767e10f401519 (patch) | |
| tree | c6dfd63bb7ff0d83f2d248e9f3f233bd446604f4 /src/nvim/highlight_group.c | |
| parent | df367cf91cdd805d907f758cb295c6b36fe39480 (diff) | |
| download | rneovim-0dd933265ff2e64786fd30f949e767e10f401519.tar.gz rneovim-0dd933265ff2e64786fd30f949e767e10f401519.tar.bz2 rneovim-0dd933265ff2e64786fd30f949e767e10f401519.zip | |
feat(terminal)!: cursor shape and blink (#31562)
When a terminal application running inside the terminal emulator sets
the cursor shape or blink status of the cursor, update the cursor in the
parent terminal to match.
This removes the "virtual cursor" that has been in use by the terminal
emulator since the beginning. The original rationale for using the
virtual cursor was to avoid having to support additional UI methods to
change the cursor color for other (non-TUI) UIs, instead relying on the
TermCursor and TermCursorNC highlight groups.
The TermCursor highlight group is now used in the default 'guicursor'
value, which has a new entry for Terminal mode. However, the
TermCursorNC highlight group is no longer supported: since terminal
windows now use the real cursor, when the window is not focused there is
no cursor displayed in the window at all, so there is nothing to
highlight. Users can still use the StatusLineTermNC highlight group to
differentiate non-focused terminal windows.
BREAKING CHANGE: The TermCursorNC highlight group is no longer supported.
Diffstat (limited to 'src/nvim/highlight_group.c')
| -rw-r--r-- | src/nvim/highlight_group.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c index cc1b833c3c..f1f5f47630 100644 --- a/src/nvim/highlight_group.c +++ b/src/nvim/highlight_group.c @@ -178,7 +178,6 @@ static const char *highlight_init_both[] = { "default link StatusLineTermNC StatusLineNC", "default link TabLine StatusLineNC", "default link TabLineFill TabLine", - "default link TermCursorNC NONE", "default link VertSplit WinSeparator", "default link VisualNOS Visual", "default link Whitespace NonText", |