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

System.IO.IOException: The parameter is incorrect. #2754

Closed
AndreiChirap opened this issue Aug 14, 2021 · 2 comments
Closed

System.IO.IOException: The parameter is incorrect. #2754

AndreiChirap opened this issue Aug 14, 2021 · 2 comments

Comments

@AndreiChirap
Copy link

Last 133 Keys:
p i p Space l i s t Enter
c o n d a Space e v n Backspace Backspace n v Space l i s t Enter
c o n d a Space a c t i v a t e Space D L Enter
Ctrl+l l Backspace p w d Enter
l s Enter
c d Space D Tab Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Ctrl+l l l Enter
l s Space - l Enter
l s Space - l a Enter
Ctrl+l d i r Space Tab Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Ctrl+l l Enter
Ctrl+l l Enter
Ctrl+l c d Space Backspace Backspace Backspace Backspace Ctrl+l Ctrl+l 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 Aug 14, 2021
@AndreiChirap
Copy link
Author

AndreiChirap commented Aug 14, 2021

The error pops only when I zoom in and press ctrl+L to clear the shell, after I zoom out the error disappears.

Edition Windows 10 Pro
Version 21H1
Installed on ‎7/‎22/‎2021
OS build 19043.1165
Experience Windows Feature Experience Pack 120.2212.3530.0

@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 Aug 14, 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