Fix default color with bold disabled

This commit is contained in:
Daniel Imms
2017-10-13 13:20:22 -07:00
parent a622b97a94
commit a1fcafd50c
+2 -4
View File
@@ -253,10 +253,8 @@ export abstract class BaseRenderLayer implements IRenderLayer {
// Draw the non-bold version of the same color if bold is not enabled
if (bold && !terminal.options.enableBold) {
if (colorIndex === 1) {
// The default color
colorIndex = 0;
} else {
// Ignore default color as it's not touched above
if (colorIndex > 1) {
colorIndex -= 8;
}
}