Closed iain-clements closed 5 years ago
Did you have more lines in your command than the buffer can display? If so, this is probably the same issues as #663.
Thanks Jason, I think you are right I was not pressing return to make extra lines in the console - just pasting in the whole file on line one. Could my bug report be merged in with this branch please?
Thanks
Iain
On Mon, 22 Oct 2018 at 16:18, Jason Shirk notifications@github.com wrote:
Did you have more lines in your command than the buffer can display? If so, this is probably the same issues as #663 https://github.com/lzybkr/PSReadLine/issues/663.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lzybkr/PSReadLine/issues/782#issuecomment-431865862, or mute the thread https://github.com/notifications/unsubscribe-auth/ApEn9NUsVgp_doSNr3sDxedCJhuSfKNWks5uneHUgaJpZM4XzU3v .
-- Iain Clements Director
Email: iain@cloudursa.com Mobile: +44 7734389366 http://www.cloudursa.com
[image: --]
I also have the same issue too:
PS ${PWD}>
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 2 Keys:
` UpArrow
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 -1.
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.PreviousHistory(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)
-----------------------------------------------------------------------
I also have the same issue too:
Last 2 Keys:
` UpArrow
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 -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.Internal.VirtualTerminal.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.PlaceCursor(Int32 x, Int32 y)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Render()
at Microsoft.PowerShell.PSConsoleReadLine.UpdateFromHistory(HistoryMoveCursor moveCursor)
at Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction)
at Microsoft.PowerShell.PSConsoleReadLine.PreviousHistory(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)
Close as a duplicate of #663
Environment data
PS version: 6.1.0 PSReadline version: 2.0.0-beta3 os: Linux cc-d9773597-b65688c4b-7j6mz 4.15.0-1025-azure #26~16.04.1-Ubuntu SMP Tue Sep 25 11:09:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux PS file version:
Steps to reproduce or exception report
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:
Exception: