-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Labels
OutOfRangeIssues relating to System.ArgumentOutOfRangeExceptionIssues relating to System.ArgumentOutOfRangeException
Description
Environment data
PS version: 6.1.0
PSReadline version: 2.0.0-beta3
os: Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
PS file version: n/a
Steps to reproduce or exception report
Last 3 Keys:
` UpArrow DownArrow
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 -23.
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.HistoryRecall(Int32 direction)
at Microsoft.PowerShell.PSConsoleReadLine.NextHistory(Nullable`1 key, Object arg)
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, CancellationToken cancellationToken)
Run large chunk of code with F8 in VSCode.
Go to the integrated terminal.
Press the up arrow.
Metadata
Metadata
Assignees
Labels
OutOfRangeIssues relating to System.ArgumentOutOfRangeExceptionIssues relating to System.ArgumentOutOfRangeException