From b19d859a03fc2ce07300c7ee541f860725b1b555 Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Sun, 5 May 2024 19:06:02 +0200 Subject: [PATCH] Prevent falling over other iTerm codes --- main/src/emulator/ITermParameters.ts | 7 +++++++ main/src/emulator/Term.ts | 4 ++++ main/src/emulator/TextTerm.ts | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/main/src/emulator/ITermParameters.ts b/main/src/emulator/ITermParameters.ts index c073787e..4fdaec88 100644 --- a/main/src/emulator/ITermParameters.ts +++ b/main/src/emulator/ITermParameters.ts @@ -28,6 +28,10 @@ export class ITermParameters { this.#parseParameters(params); } + isFile(): boolean { + return this.#isFile; + } + #parseParameters(params: ControlSequenceParameters): void { for (let i=0; i