Remove waitOnExit option from Terminal API

This may turn into an enum or change behavior soon pending on the result of
task-terminal integration. Removing from the API until more thought has been
put into it.

Part of #15583
Part of #18661
This commit is contained in:
Daniel Imms
2017-01-23 10:22:36 -08:00
parent 375f32d553
commit 90a52e87bc
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -3739,11 +3739,6 @@ declare module 'vscode' {
* Args for the custom shell executable, this does not work on Windows (see #8429)
*/
shellArgs?: string[];
/**
* Whether the terminal should wait on exit for a keypress before closing the instance.
*/
waitOnExit?: boolean;
}
/**
@@ -114,7 +114,7 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {
}
public createTerminalFromOptions(options: vscode.TerminalOptions): vscode.Terminal {
let terminal = new ExtHostTerminal(this._proxy, options.name, options.shellPath, options.shellArgs, options.waitOnExit);
let terminal = new ExtHostTerminal(this._proxy, options.name, options.shellPath, options.shellArgs/*, options.waitOnExit*/);
this._terminals.push(terminal);
return terminal;
}