Prerequisites
Exception report
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new
### Environment
PSReadLine: 2.0.0
PowerShell: 5.1.26100.7019
OS: Microsoft Windows 10.0.26100
Last 200 Keys
<<Removed>>
### 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 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)
Screenshot
Refer to exception report
Environment data
PS Version: 5.1.26100.7019
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.0.0
PSReadLine EditMode: Windows
OS: 10.0.26100.1 (WinBuild.160101.0800)
BufferWidth: 183
BufferHeight: 30
Steps to reproduce
Copy paste of a string led to this error.
Expected behavior
No exception
Actual behavior
No error after copy paste.
Prerequisites
Exception report
Screenshot
Refer to exception report
Environment data
Steps to reproduce
Copy paste of a string led to this error.
Expected behavior
No exception
Actual behavior
No error after copy paste.