Merge pull request #211135 from microsoft/tyriar/pwsh5

Make suggest script compatible with pwsh 5
This commit is contained in:
Daniel Imms
2024-04-23 10:35:21 -07:00
committed by GitHub
@@ -201,7 +201,7 @@ function Send-Completions {
$completionPrefix = $commandLine
# Get completions
$result = "`e]633;Completions"
$result = "$([char]0x1b)]633;Completions"
if ($completionPrefix.Length -gt 0) {
# Get and send completions
$completions = TabExpansion2 -inputScript $completionPrefix -cursorColumn $cursorIndex