From: Kevin Lin Date: Sat, 3 Sep 2022 20:06:01 +0000 (-0700) Subject: html: Initialize doReconnect to false when specified by client options X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=bae2b816ad8bf020ec0729099d06baa8af49f709;p=ttyd.git html: Initialize doReconnect to false when specified by client options --- diff --git a/html/src/components/terminal/index.tsx b/html/src/components/terminal/index.tsx index 219cf20..26c35d4 100644 --- a/html/src/components/terminal/index.tsx +++ b/html/src/components/terminal/index.tsx @@ -274,6 +274,7 @@ export class Xterm extends Component { if (value) { console.log(`[ttyd] Reconnect disabled`); this.reconnect = false; + this.doReconnect = false; } break; case 'titleFixed':