diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-21 09:24:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-21 09:24:51 +0000 |
commit | 97d4bdd0effbdc675e8c136ed72c43e7898385d8 (patch) | |
tree | 9bbb2849cc74e0751e4eb9e122dd3e9d5c23be2d /html/src/components/zmodem/index.tsx | |
parent | Adding upstream version 1.7.1. (diff) | |
download | ttyd-97d4bdd0effbdc675e8c136ed72c43e7898385d8.tar.xz ttyd-97d4bdd0effbdc675e8c136ed72c43e7898385d8.zip |
Adding upstream version 1.7.2.upstream/1.7.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'html/src/components/zmodem/index.tsx')
-rw-r--r-- | html/src/components/zmodem/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |