Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Report (Exception: System.ArgumentOutOfRangeException) #2570

Closed
Almeida-a opened this issue Jun 12, 2021 · 1 comment
Closed

Error Report (Exception: System.ArgumentOutOfRangeException) #2570

Almeida-a opened this issue Jun 12, 2021 · 1 comment

Comments

@Almeida-a
Copy link

Details:

Last 200 Keys:
n c h Space - a Enter
g i t Space c h e c k o u t Space m a i n Enter
UpArrow UpArrow Enter
UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace c h e c k o u t Space o r i g i n / H E A D Enter
g i t Space l o g Space - - p r e t t y = f o r m a t : " % h Space % s " Space - - g r a p h Enter
Ctrl+l g i t Space r e f l o g Enter
g i t Space c o m m i t Space - - a m m e n d Enter
Enter
Enter
Enter
UpArrow LeftArrow LeftArrow LeftArrow Backspace Enter
UpArrow UpArrow UpArrow Enter
g i t Space r e s e t Space - - h a r d Space a 5 d a f 2 4 6 Enter
UpArrow DownArrow DownArrow Enter
Enter
Enter
Enter
Enter
Enter
UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Space b a 7 4 d 6 6 5 Enter
Ctrl+l

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 -11.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
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)

@ghost ghost added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Jun 12, 2021
@daxian-dbw
Copy link
Member

No environment data is provided for us to investigate the issue. This looks like a duplicate of #1315, so please upgrade to the 2.1.0 version of PSReadLine from PowerShell Gallery.
See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.

@ghost ghost removed the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants