html: Initialize doReconnect to false when specified by client options

This commit is contained in:
Kevin Lin
2022-09-03 13:06:01 -07:00
committed by Shuanglei Tao
parent 4ca49a10d6
commit bae2b816ad

View File

@@ -274,6 +274,7 @@ export class Xterm extends Component<Props> {
if (value) {
console.log(`[ttyd] Reconnect disabled`);
this.reconnect = false;
this.doReconnect = false;
}
break;
case 'titleFixed':