Skip to content

Unexpected selectionForeground results on DOM renderer #3838

@Tyriar

Description

@Tyriar

This happens because the selection is drawn on top and selectionForeground is the same as background.

image

Repro in demo:

term.setOption('rendererType', 'dom');
term.setOption('minimumContrastRatio', 5);
term.setOption('theme', {
    selection: '#ffffff',
    selectionForeground: '#000000'
});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions