File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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 } ,
You can’t perform that action at this time.
0 commit comments