-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Labels
Needs-Triage 🔍It's a new issue that core contributor team needs to triage.It's a new issue that core contributor team needs to triage.
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- 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
### Environment
PSReadLine: 2.0.0
PowerShell: 5.1.26100.7705
OS: Microsoft Windows 10.0.26200
Last 200 Keys
$ ? " Spacebar } Spacebar e l s e Spacebar { Spacebar e c h o Spacebar " 5 a b 8 c c b a d 4 9 f 4 8 f 9 a 7 8 c d 0 7 7 3 1 1 d 3 8 2 f = $ ? " Spacebar } Spacebar } Enter
Ctrl+Enter t r y Spacebar { Spacebar d o t n e t Spacebar t e s t Spacebar W o r d s . W e b . T e s t s / W o r d s . W e b . T e s t s . c s p r o j Spacebar - - n o - b u i l d Spacebar - - v e r b o s i t y Spacebar n o r m a l Spacebar 2 > & 1 Spacebar } Spacebar f i n a l l y Spacebar { Spacebar i f Spacebar ( $ ? ) Spacebar { Spacebar e c h o Spacebar " f 1 c 1 9 9 e 8 5 9 a 7 4 b 9 0 8 d 1
### 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 20.
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.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(PSKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)Screenshot
Environment data
PS Version: 5.1.26100.7705
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0
PSReadLine EditMode: Windows
OS: 10.0.26100.1 (WinBuild.160101.0800)
BufferWidth: 202
BufferHeight: 35Steps to reproduce
N/A
Expected behavior
N/A
Actual behavior
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs-Triage 🔍It's a new issue that core contributor team needs to triage.It's a new issue that core contributor team needs to triage.