Skip to content

Commit c158813

Browse files
committed
Merge remote-tracking branch 'origin/master' into tyriar/69865_remove_renderers
2 parents 0eed327 + c783f49 commit c158813

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

src/vs/vscode.proposed.d.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -775,18 +775,6 @@ declare module 'vscode' {
775775
readonly onDidWriteData: Event<string>;
776776
}
777777

778-
779-
export interface TerminalOptions {
780-
/**
781-
* When enabled the terminal will run the process as normal but not be surfaced to the user
782-
* until `Terminal.show` is called. The typical usage for this is when you need to run
783-
* something that may need interactivity but only want to tell the user about it when
784-
* interaction is needed. Note that the terminals will still be exposed to all extensions
785-
* as normal.
786-
*/
787-
runInBackground?: boolean;
788-
}
789-
790778
/**
791779
* Represents the dimensions of a terminal.
792780
*/

src/vs/workbench/api/node/extHost.api.impl.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,10 +532,8 @@ export function createApiFactory(
532532
if (typeof nameOrOptions === 'object') {
533533
if ('pty' in nameOrOptions) {
534534
return extHostTerminalService.createExtensionTerminal(nameOrOptions);
535-
} else {
536-
nameOrOptions.hideFromUser = nameOrOptions.hideFromUser || (nameOrOptions.runInBackground && extension.enableProposedApi);
537-
return extHostTerminalService.createTerminalFromOptions(nameOrOptions);
538535
}
536+
return extHostTerminalService.createTerminalFromOptions(nameOrOptions);
539537
}
540538
return extHostTerminalService.createTerminal(<string>nameOrOptions, shellPath, shellArgs);
541539
},

0 commit comments

Comments
 (0)