You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search the existing issues, especially the pinned issues.
Exception report
Oops, something went wrong.Please report this bug with ALL the details below, including both the 'Environment' and 'Exception' sections. Please report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new?template=Bug_Report.mdThank you!### EnvironmentPSReadLine: 2.1.0PowerShell: 2021.10.1OS: Microsoft Windows 10.0.22483BufferWidth: 117BufferHeight: 12Last 200 Keys LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow Enter UpArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow \ LeftArrow * Enter UpArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow \ LeftArrow * Enter UpArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete Delete a p p Tab m s Tab RightArrow RightArrow RightArrow LeftArrow LeftArrow RightArrow Enter Ctrl+a Delete $ e n v : L O C A L A P P Tab \ Backspace Ctrl+a Ctrl+x $ e n v : L O C A L A P P D A T A \ E d Tab Backspace Backspace M i r Backspace c Tab E Tab Enter Backspace Spacebar Backspace Tab RightArrow Enter U s e r Tab Spacebar Backspace Tab Escape Backspace P r e Tab Backspace Backspace Backspace P r e Tab Delete ' LeftArrow Ctrl+w Tab UpArrow RightArrow DownArrow RightArrow LeftArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace t Backspace Tab RightArrow
Exception
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top')
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.Menu.DrawMenu(Menu previousMenu, Boolean menuSelect)
at Microsoft.PowerShell.PSConsoleReadLine.MenuCompleteImpl(Menu menu, CommandCompletion completions)
at Microsoft.PowerShell.PSConsoleReadLine.PossibleCompletionsImpl(CommandCompletion completions, Boolean menuSelect)
at Microsoft.PowerShell.PSConsoleReadLine.CompleteImpl(Boolean menuSelect)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(PSKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
Stage the following string in the PowerShell Integrated Console terminal at the current prompt (it doesn't matter that the string is not " terminated):
mavaddat
changed the title
Right arrow while looking at autocomplete on path
Exception thrown in stout VS Code Integrated Console right arrow while looking at autocomplete on path
Oct 25, 2021
@mavaddat I cannot reproduce the issue you reported. Some fixes to the menu completion was done in 2.2.0-beta2 (PR #1946), and it's likely the issue you ran into was already addressed.
Can you please update the PowerShell Preview VSCode extension to the latest version (updated on 11/3/2021)? The latest PowerShell Preview extension bundles the 2.2.0-beta4 version of PSReadLine. Please try that version and see it still reproduces for you. I will close this issue for now, and please open a new one if you ran into anything with the 2.2.0-beta4 PSReadLine.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Exception report
Exception
Screenshot
Screenshot of first exception:
Screenshot of second exception:
Environment data
PowerShell Preview Extension version: 2021.10.1
VS Code version: Code - Insiders 1.62.0-insider (bcb9df5afa52c5b713f62e86dcac2c5050504b5f, 2021-10-22T05:15:25.330Z)
OS version: Windows_NT x64 10.0.22483
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonvspyt551cf:30291413
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805:30301674
pythonvspyt200:30323110
vsccppwt:30382699
pythonvssor306:30340298
bridge0708:30335490
pygetstartedt2:30353727
bridge0723:30353136
pythonrunftest32:30365365
pythonf5test824:30361779
javagetstartedt:30350119
pythonvspyt187:30365360
pydsgst2:30361790
vsaa593cf:30376535
vscrecpromptt2:30387008
Contents of Directory
$env:LOCALAPPDATA\Microsoft\Edge Beta\User Data
:Output of
Get-PSReadLineOption
:Steps to reproduce
"
terminated):tab
to autocomplete the end of the line.Expected behavior
Actual behavior
After an indeterminate number of arrows traversing the results, there is an exception thrown.
The text was updated successfully, but these errors were encountered: