@xterm/xterm 5.4.0-beta.29 → 5.4.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -92,7 +92,7 @@ export class CellColorResolver {
|
|
|
92
92
|
$bg = this._themeService.colors.ansi[this.result.fg & Attributes.PCOLOR_MASK].rgba;
|
|
93
93
|
break;
|
|
94
94
|
case Attributes.CM_RGB:
|
|
95
|
-
$bg = (this.result.fg & Attributes.RGB_MASK) << 8 | 0xFF;
|
|
95
|
+
$bg = ((this.result.fg & Attributes.RGB_MASK) << 8) | 0xFF;
|
|
96
96
|
break;
|
|
97
97
|
case Attributes.CM_DEFAULT:
|
|
98
98
|
default:
|
|
@@ -105,7 +105,7 @@ export class CellColorResolver {
|
|
|
105
105
|
$bg = this._themeService.colors.ansi[this.result.bg & Attributes.PCOLOR_MASK].rgba;
|
|
106
106
|
break;
|
|
107
107
|
case Attributes.CM_RGB:
|
|
108
|
-
$bg = this.result.bg & Attributes.RGB_MASK << 8 | 0xFF;
|
|
108
|
+
$bg = ((this.result.bg & Attributes.RGB_MASK) << 8) | 0xFF;
|
|
109
109
|
break;
|
|
110
110
|
// No need to consider default bg color here as it's not possible
|
|
111
111
|
}
|
|
@@ -143,7 +143,7 @@ export class CellColorResolver {
|
|
|
143
143
|
$fg = this._themeService.colors.ansi[this.result.bg & Attributes.PCOLOR_MASK].rgba;
|
|
144
144
|
break;
|
|
145
145
|
case Attributes.CM_RGB:
|
|
146
|
-
$fg = this.result.bg & Attributes.RGB_MASK << 8 | 0xFF;
|
|
146
|
+
$fg = ((this.result.bg & Attributes.RGB_MASK) << 8) | 0xFF;
|
|
147
147
|
break;
|
|
148
148
|
// No need to consider default bg color here as it's not possible
|
|
149
149
|
}
|
|
@@ -154,7 +154,7 @@ export class CellColorResolver {
|
|
|
154
154
|
$fg = this._themeService.colors.ansi[this.result.fg & Attributes.PCOLOR_MASK].rgba;
|
|
155
155
|
break;
|
|
156
156
|
case Attributes.CM_RGB:
|
|
157
|
-
$fg = (this.result.fg & Attributes.RGB_MASK) << 8 | 0xFF;
|
|
157
|
+
$fg = ((this.result.fg & Attributes.RGB_MASK) << 8) | 0xFF;
|
|
158
158
|
break;
|
|
159
159
|
case Attributes.CM_DEFAULT:
|
|
160
160
|
default:
|