[vim/vim] Cursor highlight does not work in terminal (Issue #19882)

1 view
Skip to first unread message

Josh Klodnicki

unread,
1:33 PM (7 hours ago) 1:33 PM
to vim/vim, Subscribed
joshklod created an issue (vim/vim#19882)

Steps to reproduce

Reproduce

  1. $ vim --clean -u NONE
  2. itest<Esc>
  3. :hi Cursor ctermbg=blue ctermfg=yellow
  4. :set tgc
  5. :hi Cursor guibg=blue guifg=yellow

Confirm that Vim's termcap sequences are correct

  1. $ infocmp -x1 | grep Cs=
            Cs=\E]12;%p1%s\007,
    
  2. $ vim --clean -u NONE
    :set t_SC t_EC
      t_SC=^[]12;
      t_EC=^G
    

Expected behaviour

A blue cursor with yellow text after steps 3 and 5, just like gvim.

Version of Vim

9.2.0277

Environment

OS Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 GNU/Linux
Terminal Windows Terminal 1.23.20211.0
$TERM xterm-256color
Shell GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19882@github.com>

Josh Klodnicki

unread,
1:38 PM (7 hours ago) 1:38 PM
to vim/vim, Subscribed
joshklod left a comment (vim/vim#19882)

I can also confirm that tput Cs '#0000ff' results in a blue cursor in the shell.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19882/4171833955@github.com>

Reply all
Reply to author
Forward
0 new messages