Skip to content

Commit 058ea6c

Browse files
Use PowerShell terminal icon (when available) (#3356)
1 parent 8e4798d commit 058ea6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/session.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,9 @@ export class SessionManager implements Middleware {
656656

657657
private setSessionStatus(statusText: string, status: SessionStatus): void {
658658
// Set color and icon for 'Running' by default
659-
let statusIconText = "$(terminal) ";
659+
let statusIconText = (semver.gte(vscode.version, "1.56.0"))
660+
? "$(terminal-powershell) "
661+
: "$(terminal) ";
660662
let statusColor = "#affc74";
661663

662664
if (status === SessionStatus.Initializing) {

0 commit comments

Comments
 (0)