Skip to content

Commit

Permalink
Fix iTerm param handling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sedwards2009 committed May 12, 2024
1 parent b19d859 commit 6c9926d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions main/src/emulator/TextTerm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2007,12 +2007,10 @@ export class TextEmulator implements TextEmulatorApi {
this.#state = ParserState.OSC_ITERM_PAYLOAD_ESC;
break;
}
if (this.#itermParameters.appendPayloadCodePoint(codePoint)) {
break;
}

if (codePoint === CODEPOINT_BEL) {
this._executeITerm(this.#itermParameters);
} else if (this.#itermParameters.appendPayloadCodePoint(codePoint)) {
break;
}

this.#itermParameters = null;
Expand Down

0 comments on commit 6c9926d

Please sign in to comment.