Merge pull request #130291 from spasche/fix_terminal_split
Copy URI authority from base when splitting terminals, fixes #127811
This commit is contained in:
commit
f6b8aef1eb
|
@ -1144,6 +1144,7 @@ export class TerminalService implements ITerminalService {
|
|||
if (options?.instanceToSplit && typeof shellLaunchConfig.cwd !== 'object' && typeof options.instanceToSplit.shellLaunchConfig.cwd === 'object') {
|
||||
shellLaunchConfig.cwd = URI.from({
|
||||
scheme: options.instanceToSplit.shellLaunchConfig.cwd.scheme,
|
||||
authority: options.instanceToSplit.shellLaunchConfig.cwd.authority,
|
||||
path: shellLaunchConfig.cwd || options.instanceToSplit.shellLaunchConfig.cwd.path
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue