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

Resizing Window Doesn't Realign Text In Window #1525

Closed
RedFox134 opened this issue May 14, 2020 · 1 comment
Closed

Resizing Window Doesn't Realign Text In Window #1525

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

Comments

@RedFox134
Copy link

RedFox134 commented May 14, 2020

I tried to resize the power shell window after it opened. It was just a blank blue screen, so I tried to type in cls. I was then able to see text in the window and received this error:

Last 4 Keys:
 c l s Enter


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

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.PSConsoleReadLine.AcceptLineImpl(Boolean validate)
   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)

opened original
blank powershell window
Powershell error

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

@RedFox134 The issue was fixed by #1182. Please upgrade to the 2.0.1 version of PSReadLine from PowerShell Gallery and give it a try.
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 14, 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 14, 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