PSReadLine icon indicating copy to clipboard operation
PSReadLine copied to clipboard

pasting ~500 comma deleted strings into a variable gets error

Open nimchak opened this issue 6 years ago • 1 comments

email addresses changed to ****** in the paste.

Oops, something went wrong. Please report this bug with the details below. Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 200 Keys: t e l . c o m ' , '**** @ c o m t e c h t e l . c o m ' , '****** @ c o m t e c h t e l . c o m ' , ' ****** @ c o m t e c h t e l . c o m ' , ' ****** @ c o m t e c h t e l . c o m ' , '@ c o m t e c h t e l . c o m ' , '@ c o m t e c h t e l . c o m ' , ' ****** @ C o m t e c h t e l . c o m '

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 -56. 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(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.InputLoop() at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

nimchak avatar Sep 11 '20 14:09 nimchak

This issue was fixed (see #1306). Please upgrade to the 2.0.4 version of PSReadLine from PowerShellGallery. See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.

daxian-dbw avatar Oct 05 '20 18:10 daxian-dbw