Skip to content

Commit

Permalink
Make suggest script compatible with pwsh 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Apr 23, 2024
1 parent d2428e1 commit 191a248
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 191a248

Please sign in to comment.