Skip to content

Commit

Permalink
Merge pull request #130291 from spasche/fix_terminal_split
Browse files Browse the repository at this point in the history
Copy URI authority from base when splitting terminals, fixes #127811
  • Loading branch information
Tyriar authored Aug 16, 2021
2 parents bb33171 + ff27061 commit f6b8aef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
}
Expand Down

0 comments on commit f6b8aef

Please sign in to comment.