Skip to content

Commit

Permalink
Update terminal_page.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
mengyanshou committed Jun 7, 2023
1 parent afeb59c commit f87da66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/terminal_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ class _TerminalPageState extends State<TerminalPage> {
);
pseudoTerminal = createPTY();
await pseudoTerminal?.defineFunction(startVsCodeScript);
await controller.unzipVSCodeIfNotExist();
startVsCode(pseudoTerminal!);
setState(() {});
vsCodeStartWhenSuccessBind();
await controller.unzipVSCodeIfNotExist();
startVsCode(pseudoTerminal!);
}

Future<void> startVsCode(Pty pseudoTerminal) async {
Expand Down

0 comments on commit f87da66

Please sign in to comment.