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
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 name: left
Actual value was 45.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender()
at Microsoft.PowerShell.PSConsoleReadLine.BackwardDeleteChar(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
PS C:\Users\XXX\Desktop\BC\implementation>
So, what I did was I resized the window into a square so that the blinking '_' was the only thing that could fit on that line, and then I typed d, then hit backspace, may have multitapped it on accident, then thing lagged out and crashed.
This did happen shortly after resizing, but has a different error.
Hope this helps.
Below is a screenshot of what my powershell window was like exactly:
Activity
lzybkr commentedon Oct 25, 2018
Which version of PSReadLine? If it's 1.2, we can close as it's probably fixed in 2.0.
jocgir commentedon Oct 29, 2018
I have this problem with version 2.0 on OSX.
The problem appeared when I updated my powershell to v6.1.
I noticed that the problem is also there within the docker image microsoft/powershell.
The problem only occurs when the cursor it at the first line.
daxian-dbw commentedon Sep 13, 2019
Fixed by #979 and #967