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

PSReadLine #1509

Closed
abbes-mebrouki opened this issue May 8, 2020 · 1 comment
Closed

PSReadLine #1509

abbes-mebrouki opened this issue May 8, 2020 · 1 comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@abbes-mebrouki
Copy link

I got this issue after leaving PowerShell open in the windows terminal over 24h.

Last 200 Keys:
Space . . Space . . Space . . Enter
c d Space . . Enter
c d / / Backspace Backspace UpArrow UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Enter
UpArrow Enter
UpArrow Enter
UpArrow Enter
c d Space U s e r s Ctrl+Alt+\ A b b e s Enter
l s Backspace Backspace Backspace Ctrl+l m o n g o Enter
Ctrl+l m o n g o d Space - f Space ' Backspace " " LeftArrow C : Ctrl+Alt+\ P r o g r a m Space F i l e s Ctrl+Alt+\ M o n g o D B Ctrl+Alt+\ S e r v e r Ctrl+Alt+\ 4 . 2 Ctrl+Alt+\ b i n Ctrl+Alt+\ m o n g o d . v f Backspace Backspace c f g Enter
UpArrow Enter
UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Enter
UpArrow Enter
UpArrow 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 -18.
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 May 8, 2020
@daxian-dbw
Copy link
Member

The issue related to Ctrl+l was fixed (see #1315). Please upgrade to the 2.0.1 version of PSReadLine from PowerShellGallery. See the upgrading section for instructions.

@ghost ghost removed the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label May 8, 2020
@daxian-dbw daxian-dbw added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants