diff --git a/src/common/InputHandler.ts b/src/common/InputHandler.ts index ca07a425..1997d9f1 100644 --- a/src/common/InputHandler.ts +++ b/src/common/InputHandler.ts @@ -2724,12 +2724,6 @@ export class InputHandler extends Disposable implements IInputHandler { attr.extended = attr.extended.clone(); attr.extended.underlineColor = -1; attr.updateExtended(); - } else if (p === 100) { // FIXME: dead branch, p=100 already handled above! - // reset fg/bg - attr.fg &= ~(Attributes.CM_MASK | Attributes.RGB_MASK); - attr.fg |= DEFAULT_ATTR_DATA.fg & (Attributes.PCOLOR_MASK | Attributes.RGB_MASK); - attr.bg &= ~(Attributes.CM_MASK | Attributes.RGB_MASK); - attr.bg |= DEFAULT_ATTR_DATA.bg & (Attributes.PCOLOR_MASK | Attributes.RGB_MASK); } else { this._logService.debug('Unknown SGR attribute: %d.', p); }