diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-21 09:24:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-21 09:24:59 +0000 |
commit | 2bbf7ca3ab74b2e3a9b2e361fe56aeac1e2f4867 (patch) | |
tree | 6d0ad563f29e8b130a876da955b3174e40defed3 /html/src/components/zmodem/index.tsx | |
parent | Releasing debian version 1.7.1-1. (diff) | |
download | ttyd-2bbf7ca3ab74b2e3a9b2e361fe56aeac1e2f4867.tar.xz ttyd-2bbf7ca3ab74b2e3a9b2e361fe56aeac1e2f4867.zip |
Merging upstream version 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; |