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

Exception: System.IO.IOException: The parameter is incorrect. #2442

Closed
MuenYu opened this issue May 10, 2021 · 1 comment
Closed

Exception: System.IO.IOException: The parameter is incorrect. #2442

MuenYu opened this issue May 10, 2021 · 1 comment

Comments

@MuenYu
Copy link

MuenYu commented May 10, 2021

using powershell in a git folder, I just press ctrl+L to clean my screen
then the exception happen

Last 93 Keys:
 Ctrl+l Ctrl+l f d d Enter
 Ctrl+l @ y a r n Space i n s t a l l Enter
 Ctrl+l p o m g Backspace Backspace Backspace i n g Space b a i d u . c o m Enter
 c l s Enter
 l s Enter
 s c o o p Space s e a r c h Space y a r n Enter
 s c o o p Space i n s t a l l Space y a r n Enter
 Ctrl+l c l s Enter
 Ctrl+l

Exception:
System.IO.IOException: The parameter is incorrect.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.Console.SetWindowPosition(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 10, 2021
@github-actions
Copy link

This issue was already fixed (see #1315). 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 May 10, 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

1 participant