Skip to content

Commit 5a25e53

Browse files
committed
1 parent fc272f3 commit 5a25e53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extensions/gitpod-shared/src/features.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,10 +870,11 @@ export async function registerTasks(context: GitpodExtensionContext): Promise<vo
870870
iconPath: new vscode.ThemeIcon('terminal'),
871871
location: parentTerminal ? { parentTerminal } : vscode.TerminalLocation.Panel
872872
});
873-
terminal.show();
874873
prevTerminal = terminal;
875874
}
876875
}
876+
// Focus last created terminal
877+
prevTerminal?.show();
877878
}
878879

879880
function createTaskPty(alias: string, context: GitpodExtensionContext, contextToken: vscode.CancellationToken): vscode.Pseudoterminal {

0 commit comments

Comments
 (0)