Closed
Description
Hello, today I upgraded to PnP.PowerShell 1.4.0 and in the middle of debugging in vscode, I was asked to tell you the following ...
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.md
Thank you!
Environment
PSReadLine: 2.2.0-beta2
PowerShell: 2021.2.2
OS: Microsoft Windows 10.0.19041
BufferWidth: 259
Last 200 Keys
i n 5 Enter
UpArrow Delete Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Enter
g e t - p n p m i Tab Enter
UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow UpArrow UpArrow UpArrow UpArrow DownArrow Enter
UpArrow Spacebar | Spacebar S e l e c t Spacebar E m a i l Enter
UpArrow Home $ u Spacebar = Spacebar Enter
A d d - p n p m i c Tab Tab Spacebar - Tab Spacebar R o t w e i n 5 Spacebar - Tab Spacebar $ u Enter
UpArrow Ctrl+c UpArrow UpArrow UpArrow DownArrow Ctrl+LeftArrow Ctrl+LeftArrow Shift+Ctrl+RightArrow Shift+LeftArrow Shift+LeftArrow F o r e Tab a c h Spacebar Delete { Spacebar $ _ . Delete End Spacebar } Home Delete Delete Delete Delete Delete Enter
UpArrow Home $ u Spacebar = Spacebar Enter
UpArrow UpArrow UpArrow Enter
DownArrow g e t - p n p w e b Enter
DownArrow c l s Enter
DownArrow g e t - p n p w e b Enter
DownArrow F8 DownArrow F8 F8 DownArrow Ctrl+c DownArrow Ctrl+s
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 37.
at System.ConsolePal.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.CalculateWhereAndWhatToRender(Boolean cursorMovedToInitialPos, RenderData renderData, LineInfoForRendering& lineInfoForRendering)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.ReadKey()
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
[DBG]: PS D:\code\DevOps\xxx\Functions\xxx\Deployment\Scripts>
fwd-i-search: _