[vim/vim] GUI does not restore cursor color when entering Terminal-Job mode if cursor does not move (Issue #12328)

9 views
Skip to first unread message

Kenny Stauffer

unread,
May 1, 2023, 7:05:30 PM5/1/23
to vim/vim, Subscribed

Steps to reproduce

gvim --clean -c "set gcr=a:blinkon0" -c "term ++curwin"

(Blinking cursor masks the bug)

  1. In terminal buffer, run echo -e '\e]12;#ff0000\a' to turn cursor red.
  2. Type a character at the shell prompt, then press <Left> or similar to put cursor at start of line (a position from which it will not move when switching to Normal mode and back again).
  3. Press <C-\><C-n>. Observe cursor turns black (Cursor highlighting).
  4. Press i to enter Terminal-Job mode.

Expected behaviour

Cursor should turn red during step 4.

Version of Vim

9.0.1504

Environment

Ubuntu 20.04
Huge version with GTK3 GUI.

Logs and stack traces

No response


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/12328@github.com>

Reply all
Reply to author
Forward
0 new messages