mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 06:51:53 +01:00
define pathSeparator in ext host for terminal suggest (#239540)
This commit is contained in:
@@ -116,7 +116,7 @@ export async function activate(context: vscode.ExtensionContext) {
|
||||
}
|
||||
|
||||
if (result.cwd && (result.filesRequested || result.foldersRequested)) {
|
||||
return new vscode.TerminalCompletionList(result.items, { filesRequested: result.filesRequested, foldersRequested: result.foldersRequested, cwd: result.cwd, pathSeparator: isWindows ? '\\' : '/', env: terminal.shellIntegration?.env });
|
||||
return new vscode.TerminalCompletionList(result.items, { filesRequested: result.filesRequested, foldersRequested: result.foldersRequested, cwd: result.cwd, env: terminal.shellIntegration?.env });
|
||||
}
|
||||
return result.items;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user