Skip to content

Commit

Permalink
html: Initialize doReconnect to false when specified by client options
Browse files Browse the repository at this point in the history
  • Loading branch information
LINKIWI authored and tsl0922 committed Oct 18, 2022
1 parent 4ca49a1 commit bae2b81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions html/src/components/terminal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit bae2b81

Please sign in to comment.