mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user