diff --git a/src/InputHandler.ts b/src/InputHandler.ts index 0419c31813..42b1b0958b 100644 --- a/src/InputHandler.ts +++ b/src/InputHandler.ts @@ -1631,6 +1631,9 @@ export class InputHandler extends Disposable implements IInputHandler { // not bold nor faint flags &= ~FLAGS.BOLD; flags &= ~FLAGS.DIM; + } else if (p === 23) { + // not italic + flags &= ~FLAGS.ITALIC; } else if (p === 24) { // not underlined flags &= ~FLAGS.UNDERLINE;