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
{{ message }}
Repository navigation
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. #5025
Search the existing issues, especially the pinned issues.
Exception report
Oops, something went wrong. Please report this bug with the details below.Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new### EnvironmentPSReadLine: 2.0.0PowerShell: 5.1.26100.7019OS: Microsoft Windows 10.0.26100Last 200 Keys<<Removed>>### ExceptionSystem.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.Parameter name: topActual value was 30. at System.Console.SetCursorPosition(Int32 left, Int32 top) 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)
Sethu Srinivasan (@sethusrinivasan) Thanks for reporting the issue. The version of PSReadLine you are using is very old and the issue is likely fixed in newer versions. Please upgrade to the latest v2.4.5 of PSReadLine and try again.
Activity
daxian-dbw commentedon Dec 1, 2025
Sethu Srinivasan (@sethusrinivasan) Thanks for reporting the issue. The version of PSReadLine you are using is very old and the issue is likely fixed in newer versions. Please upgrade to the latest v2.4.5 of PSReadLine and try again.