From 2bbf7ca3ab74b2e3a9b2e361fe56aeac1e2f4867 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 21 Oct 2022 11:24:59 +0200 Subject: Merging upstream version 1.7.2. Signed-off-by: Daniel Baumann --- html/src/components/zmodem/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/src/components/zmodem') diff --git a/html/src/components/zmodem/index.tsx b/html/src/components/zmodem/index.tsx index 9498863..f0e9e87 100644 --- a/html/src/components/zmodem/index.tsx +++ b/html/src/components/zmodem/index.tsx @@ -84,7 +84,7 @@ export class ZmodemAddon extends Component implements ITerminalAdd @bind private zmodemReset() { - this.terminal.setOption('disableStdin', false); + this.terminal.options.disableStdin = false; if (this.keyDispose) { this.keyDispose.dispose(); @@ -127,7 +127,7 @@ export class ZmodemAddon extends Component implements ITerminalAdd @bind private zmodemDetect(detection: Zmodem.Detection): void { const { terminal, receiveFile, zmodemReset } = this; - terminal.setOption('disableStdin', true); + terminal.options.disableStdin = true; this.keyDispose = terminal.onKey(e => { const event = e.domEvent; -- cgit v1.2.3