Fix default color with bold disabled
This commit is contained in:
@@ -253,10 +253,8 @@ export abstract class BaseRenderLayer implements IRenderLayer {
|
|||||||
|
|
||||||
// Draw the non-bold version of the same color if bold is not enabled
|
// Draw the non-bold version of the same color if bold is not enabled
|
||||||
if (bold && !terminal.options.enableBold) {
|
if (bold && !terminal.options.enableBold) {
|
||||||
if (colorIndex === 1) {
|
// Ignore default color as it's not touched above
|
||||||
// The default color
|
if (colorIndex > 1) {
|
||||||
colorIndex = 0;
|
|
||||||
} else {
|
|
||||||
colorIndex -= 8;
|
colorIndex -= 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user