fix issue #983 · PowerShell/PSReadLine@70d0d34 · GitHub
Skip to content

Commit 70d0d34

Browse files
committed
fix issue #983
Prevent adjustment of userCompletionText while finding userCompletion text position when match contains `{` in CompletionText[1] if the userCompletionText is not longer than 1 char, and preserve the splat sigil at start of completions of type `Variable`. Adjusting userCompletionText blindly led to ArgumentOutOfRangeException on incorrectly braced splats on input `@?`.
1 parent b7b8f7b commit 70d0d34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PSReadLine/Completion.cs‎

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)