Skip to content

Commit d0471ae

Browse files
authored
chore: pass through terminal creation options (#949)
1 parent d4fcbb0 commit d0471ae

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/features/terminal/terminalManager.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -309,18 +309,8 @@ export class TerminalManagerImpl implements TerminalManager {
309309
// https://github.com/microsoft/vscode-python-environments/issues/172
310310
// const name = options.name ?? `Python: ${environment.displayName}`;
311311
const newTerminal = createTerminal({
312-
name: options.name,
313-
shellPath: options.shellPath,
314-
shellArgs: options.shellArgs,
315-
cwd: options.cwd,
312+
...options,
316313
env: envVars,
317-
strictEnv: options.strictEnv,
318-
message: options.message,
319-
iconPath: options.iconPath,
320-
hideFromUser: options.hideFromUser,
321-
color: options.color,
322-
location: options.location,
323-
isTransient: options.isTransient,
324314
});
325315

326316
if (autoActType === ACT_TYPE_COMMAND) {

0 commit comments

Comments
 (0)