diff options
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; |