vscode icon indicating copy to clipboard operation
vscode copied to clipboard

SCM - commit message box uses the wrong cursor (can be hard to see)

Open jacekkopecky opened this issue 9 months ago • 0 comments

The SCM/git commit message editor uses a subset of cursor settings, which, in my case, makes it hard to see.

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.98.0 and latest build from main
  • OS Version: Mac and Windows both, not OS-specific

Steps to Reproduce:

  1. override cursor style (e.g. block, or width 4) in settings
  2. override cursor color in settings.json workbench.colorCustomizations (e.g. "#0d0f")
  3. check that the cursor is the correct style and color in text editor
  4. check that other fields (e.g. search) do not use the overridden cursor but platform default
  5. check that SCM/git commit message edit field uses a thin line cursor in your color rather than your overridden style/width or the platform default

The reason for this bug is that the git commit message uses a monaco editor and not a textarea, so it's affected by the color setting from your theme override but it does not import cursor style or width from the settings.

The gif below shows my green block non-blinking cursor in text editor, default blinking black line cursor in the search field, and a thin green non-blinking cursor in the git commit message. My eyesight is bad, and the commit window cursor is hard to see for me.

Image

jacekkopecky avatar Mar 07 '25 15:03 jacekkopecky