diff --git a/addons/xterm-addon-webgl/src/RectangleRenderer.ts b/addons/xterm-addon-webgl/src/RectangleRenderer.ts index 24b4994b..d4ce3b4c 100644 --- a/addons/xterm-addon-webgl/src/RectangleRenderer.ts +++ b/addons/xterm-addon-webgl/src/RectangleRenderer.ts @@ -275,7 +275,6 @@ export class RectangleRenderer { if (bg === INVERTED_DEFAULT_COLOR) { color = this._colors.foreground; } else if (is256Color(bg)) { - // TODO: Need to do a separate set for 16 color palette? color = this._colors.ansi[bg]; } else { // TODO: Add support for true color diff --git a/addons/xterm-addon-webgl/src/atlas/WebglCharAtlas.ts b/addons/xterm-addon-webgl/src/atlas/WebglCharAtlas.ts index c3da6955..6a941d55 100644 --- a/addons/xterm-addon-webgl/src/atlas/WebglCharAtlas.ts +++ b/addons/xterm-addon-webgl/src/atlas/WebglCharAtlas.ts @@ -171,7 +171,6 @@ export class WebglCharAtlas extends BaseCharAtlas { } else if (bg === INVERTED_DEFAULT_COLOR) { return this._config.colors.foreground; } else if (is256Color(bg)) { - // TODO: Need to do a separate set for 16 color palette? return this._getColorFromAnsiIndex(bg); } // TODO: Support true color @@ -182,7 +181,6 @@ export class WebglCharAtlas extends BaseCharAtlas { if (fg === INVERTED_DEFAULT_COLOR) { return this._config.colors.background; } else if (is256Color(fg)) { - // TODO: Need to do a separate set for 16 color palette? return this._getColorFromAnsiIndex(fg); } // TODO: Support true color