Skip to content

Commit 80f74f9

Browse files
committed
only show terminal after ssh command and app commands run
1 parent 22246b9 commit 80f74f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ export class Commands {
419419
// Launch and run command in terminal if command is provided
420420
if (app.command) {
421421
const terminal = vscode.window.createTerminal(app.status)
422-
terminal.show(true)
423422
vscode.commands.executeCommand("workbench.action.toggleMaximizedPanel")
424423
// If workspace_name is provided, run coder ssh before the command
425424
if (app.workspace_name) {
@@ -437,6 +436,7 @@ export class Commands {
437436
} else {
438437
terminal.sendText("need workspace name")
439438
}
439+
terminal.show(false)
440440
return
441441
}
442442
// Check if app has a URL to open

0 commit comments

Comments
 (0)