Skip to content

Commit e00c8eb

Browse files
committed
Change Create New Terminal codes to focus accordingly to the profile's location
1 parent 3aaf01d commit e00c8eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/workbench/contrib/terminal/browser/terminalActions.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,11 @@ export function registerTerminalActions() {
317317
return;
318318
}
319319
c.service.setActiveInstance(instance);
320+
await focusActiveTerminal(instance, c);
321+
}
322+
else {
323+
await c.groupService.showPanel(true);
320324
}
321-
await c.groupService.showPanel(true);
322325
}
323326
});
324327

0 commit comments

Comments
 (0)