Skip to content

Commit 3faebfb

Browse files
Abrifqmeganrogge
andauthored
Change Create New Terminal to focus accordingly to the terminal location (#237404)
* Change `Create New Terminal` codes to focus accordingly to the profile's location * Remove showPanel in favor of focusActiveTerminal in "Create New Terminal (In Active Workspace)" Co-authored-by: Megan Rogge <[email protected]> --------- Co-authored-by: Megan Rogge <[email protected]>
1 parent 07f4d67 commit 3faebfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ export function registerTerminalActions() {
317317
return;
318318
}
319319
c.service.setActiveInstance(instance);
320+
await focusActiveTerminal(instance, c);
320321
}
321-
await c.groupService.showPanel(true);
322322
}
323323
});
324324

0 commit comments

Comments
 (0)