From 97d4bdd0effbdc675e8c136ed72c43e7898385d8 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel.baumann@progress-linux.org>
Date: Fri, 21 Oct 2022 11:24:51 +0200
Subject: Adding upstream version 1.7.2.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
---
 html/src/components/zmodem/index.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'html/src/components/zmodem/index.tsx')

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<Props, State> 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<Props, State> 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

