Add initialText proposed API

Part of #120368
This commit is contained in:
Daniel Imms
2021-04-01 12:27:02 -07:00
parent 062ed0700d
commit c8ccd07d0f
6 changed files with 21 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
executable: launchConfig.shellPath,
args: launchConfig.shellArgs,
cwd: typeof launchConfig.cwd === 'string' ? launchConfig.cwd : URI.revive(launchConfig.cwd),
initialText: launchConfig.initialText,
waitOnExit: launchConfig.waitOnExit,
ignoreConfigurationCwd: true,
env: launchConfig.env,