Merge pull request #4833 from arcanis/patch-3

Fixes hex color serialization
This commit is contained in:
Daniel Imms
2023-11-02 09:30:48 -07:00
committed by GitHub
+1 -1
View File
@@ -605,7 +605,7 @@ export class HTMLSerializeHandler extends BaseSerializeHandler {
(color >> 8) & 255,
(color ) & 255
];
return rgb.map(x => this._padStart(x.toString(16), 2, '0')).join('');
return '#' + rgb.map(x => this._padStart(x.toString(16), 2, '0')).join('');
}
if (isFg ? cell.isFgPalette() : cell.isBgPalette()) {
return this._ansiColors[color].css;