-
Notifications
You must be signed in to change notification settings - Fork 316
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
Last 111 Keys:
c d Space " c : \ U s e r s \ A d m i n \ D e s k t o p \ c o d i n g \ " Space ; Space i f Space ( $ ? ) Space { Space g c c Space s t a r d i a m o n d . c Space - o Space s t a r d i a m o n d Space } Space ; Space i f Space ( $ ? ) Space { Space . \ s t a r d i a m o n d Space } Enter
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: left
Actual value was -2.
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(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object
arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------
PS C:\Users\Admin\Desktop\coding> cd "c:\Users\Admin\Desktop\coding\" ; if ($?) { gcc stardiamond.c -o stardiamond } ; if ($?) { .\stardiamond }
Screenshot
N/A
Environment data
N/A
Steps to reproduce
dont know
Expected behavior
code should run
Actual behavior
code not running
Metadata
Metadata
Assignees
Labels
No labels