xterm.js
xterm.js copied to clipboard
Cursor is not visible on inverted text
Here's what it looks like in vscode (before and after 3.13, dom or canvas renderer), it happens in demo the same way (viewing italic text in a markdown file on vim):
Terminal.app:
Actually maybe this is expected as you can customize cursor color.
Opening for discussion as someone mentioned this in https://github.com/microsoft/vscode/issues/84863, we need to know how other popular terminals handle this case with various cursor types before actioning.
This issue is still closed though, was the intention not to reopen it?
Happens only in dom renderer? https://github.com/microsoft/vscode/issues/84880#issuecomment-555231125
@Tyriar Could the new luma calc be used to sanitize this?
@Tyriar I can reproduce this bug with every possible value for terminal.integrated.rendererType
. I've also changed the cursor style from block to underline, and that didn't affect this bug.
@jerch we should align with how other terminals work with this, probably not a good idea to start arbitrarily modifying colors as that would be confusing and complicate things more.
Still repros: