vscode
vscode copied to clipboard
SCM - commit message box uses the wrong cursor (can be hard to see)
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:
- override cursor style (e.g. block, or width 4) in settings
- override cursor color in settings.json
workbench.colorCustomizations(e.g. "#0d0f") - check that the cursor is the correct style and color in text editor
- check that other fields (e.g. search) do not use the overridden cursor but platform default
- 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.