Skip to content

Commit

Permalink
Fix terminal opening on connect outside pico project
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Sep 12, 2024
1 parent 95eac2f commit f12d5fb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/activator.mts
Original file line number Diff line number Diff line change
Expand Up @@ -1660,8 +1660,11 @@ export default class Activator {
this.activationFilePresentAtLaunch = false;
}

this.terminal?.cls();
this.terminal?.open(undefined);
if (this.terminal?.getIsOpen()) {
this.terminal?.cls();
}
//this.terminal?.open(undefined);
void focusTerminal(this.terminalOptions);

void vscode.window.showInformationMessage(
"Connection to MicoPython board established."
Expand Down

0 comments on commit f12d5fb

Please sign in to comment.