Store extended attributes in single number

This commit is contained in:
Daniel Imms
2022-07-23 11:12:17 -07:00
parent 8cd01dc421
commit 03f15a7fb7
5 changed files with 28 additions and 15 deletions
@@ -384,8 +384,7 @@ export class WebglRenderer extends Disposable implements IRenderer {
private _loadColorsForCell(x: number, y: number): void {
this._workColors.bg = this._workCell.bg;
this._workColors.fg = this._workCell.fg;
// TODO: Use extended packed format as key
this._workColors.ext = this._workCell.extended.underlineStyle;
this._workColors.ext = this._workCell.extended.ext;
// Get any foreground/background overrides, this happens on the model to avoid spreading
// override logic throughout the different sub-renderers