diff --git a/html/src/components/zmodem/index.tsx b/html/src/components/zmodem/index.tsx index 24d3952..cab3865 100644 --- a/html/src/components/zmodem/index.tsx +++ b/html/src/components/zmodem/index.tsx @@ -70,6 +70,8 @@ export class ZmodemAddon extends Component implements ITerminalAdd this.keyDispose.dispose(); this.keyDispose = null; } + + this.terminal.focus(); } @bind diff --git a/src/index.html b/src/index.html index 03b0b55..5fc1b52 100644 --- a/src/index.html +++ b/src/index.html @@ -1 +1 @@ -ttyd - Terminal \ No newline at end of file +ttyd - Terminal \ No newline at end of file