Ensure color mode is set for selection foreground overrides

This commit is contained in:
Daniel Imms
2022-05-17 11:20:20 -07:00
parent f2b90d690f
commit d7fdf17eab
@@ -200,6 +200,7 @@ export class DomRendererRowFactory {
// Apply selection foreground if applicable
if (!isTop) {
if (this._colors.selectionForeground && this._selectionService.isCellInSelection(x, row)) {
fgColorMode = Attributes.CM_RGB;
fg = this._colors.selectionForeground.rgba >> 8 & 0xFFFFFF;
fgOverride = this._colors.selectionForeground;
}