-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
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
PS D:\Desktop\HellYes>
Opa, algo deu errado. Relate este bug com os detalhes abaixo.
Relate no GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Últimas 2 Chaves:
` Shift+Insert
Exceção:
System.ArgumentOutOfRangeException: O valor deve ser maior ou igual a zero e menor que o tamanho do buffer do console nessa dimensão.
Nome do parâmetro: top
Valor real era -2.
em System.Console.SetCursorPosition(Int32 left, Int32 top)
em Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
em Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
em Microsoft.PowerShell.PSConsoleReadLine.Paste(Nullable`1 key, Object arg)
em Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
em Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
em Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------
PS D:\Desktop\HellYes>Screenshot
Environment data
PS Version: 5.1.19041.6456
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.4522 (WinBuild.160101.0800)
BufferWidth: 134
BufferHeight: 3000Steps to reproduce
I just pasted a script and then it broke
Expected behavior
Should just paste the code to work
Actual behavior
It gives this error lmao
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels