-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Description
The problem is coming just before the code runs the problem looks something like
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
Last 134 Keys:
c d Space " j : \ R B U Space C O L L E G E Space W O R K \ S E M Space I I \ P R A C T I C A L S \ O S Space ( O p e r a t i n g Space S y s t e m s ) \ P r a c t i c a l Space Space 4 \ " Space ; Space i f Space ( $ ? ) Space { Space g c c Space t e s t . c Space - o Space t e s t Space } Space ; Space i f Space ( $ ? ) Space { Space . \ t e s t Space } Enter
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: left
Actual value was -2.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
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)
After this error the code runs correctly but I want to remove this error
Metadata
Metadata
Assignees
Labels
No labels