System.ArgumentOutOfRangeException: El valor debe ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -1.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction)
en Microsoft.PowerShell.PSConsoleReadLine.PreviousHistory(Nullable`1 key, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2
dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
PS Version: 5.1.19041.6456
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 92
BufferHeight: 41
Prerequisites
Exception report
Screenshot
Environment data
Steps to reproduce
N/A
Expected behavior
N/A
Actual behavior
N/A