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: top
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
Steps to reproduce
Last 200 keys show command input to convert a wav file to ogg with ffmpeg.exe.
An hour or so later, I returned to reuse the console and pressed Ctrl+l as usual to get a fresh prompt.
Instead, got this exception. Not happened before.. thousands of invocations across constantly changing DPIs, window sizes, etc.
Upgraded Windows Terminal ~last week
Expected behavior
Pressing Ctrl+l at a command prompt should 'clear' the screen by inserting newlines, resetting the cursor position to 0,0, and re-rendering the prompt
Actual behavior
ArgumentOutOfBoundsException in SetCursorPosition
The text was updated successfully, but these errors were encountered:
This was already fixed (see #1315). Please upgrade to the 2.1.0 version of PSReadLine from PowerShell Gallery.
See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.
Environment
Exception report
Steps to reproduce
Last 200 keys show command input to convert a wav file to ogg with ffmpeg.exe.
An hour or so later, I returned to reuse the console and pressed Ctrl+l as usual to get a fresh prompt.
Instead, got this exception. Not happened before.. thousands of invocations across constantly changing DPIs, window sizes, etc.
Upgraded Windows Terminal ~last week
Expected behavior
Pressing Ctrl+l at a command prompt should 'clear' the screen by inserting newlines, resetting the cursor position to 0,0, and re-rendering the prompt
Actual behavior
ArgumentOutOfBoundsException in SetCursorPosition
The text was updated successfully, but these errors were encountered: