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 while clearing console in VS Code #2623

Closed
AgainPsychoX opened this issue Jun 27, 2021 · 1 comment
Closed

Error while clearing console in VS Code #2623

AgainPsychoX opened this issue Jun 27, 2021 · 1 comment

Comments

@AgainPsychoX
Copy link

I wanted to clear console with Ctrl+L while in VS Code. It worked for second time.

Last 200 Keys:
 / f i r e b a s e Tab Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace . . / f i r e b a s e Tab DownArrow UpArrow DownArrow UpArrow UpArrow DownArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace i n s t a l l Space f i r e b s a Backspace Backspace a s e Enter
 UpArrow UpArrow UpArrow DownArrow Enter
 c l e a r Enter
 c d Space . . / m o Tab Enter
 t s c Space Backspace Enter
 UpArrow Enter
 UpArrow UpArrow DownArrow Enter
 UpArrow Enter
 UpArrow Enter
 UpArrow Enter
 UpArrow UpArrow DownArrow Enter
 c l e a r Enter
 UpArrow UpArrow Enter
 UpArrow Enter
 UpArrow Enter
 c d Space . . Enter
 c d Space f u n Tab Enter
 UpArrow UpArrow UpArrow UpArrow DownArrow UpArrow UpArrow UpArrow DownArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace n p m Space r u n Space b u i l d Enter
 UpArrow Enter
 UpArrow Enter
 UpArrow Enter
 Tab Ctrl+l

Exception:
System.ArgumentOutOfRangeException: Wartość musi być większa lub równa zero i mniejsza od rozmiaru buforu konsoli w tym wymiarze.
Nazwa parametru: top /// parameter name
Rzeczywista wartość to -3. /// real value is -3
   w System.Console.SetCursorPosition(Int32 left, Int32 top)
   w Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   w Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   w 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 27, 2021
@AgainPsychoX AgainPsychoX changed the title Error while in VS Code Error while clearing console in VS Code Jun 27, 2021
@daxian-dbw
Copy link
Member

@AgainPsychoX 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