question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception after maximizing and restoring a powershell window a few times on windows 10

See original GitHub issue
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 49 Keys:
 c d Spacebar C : Ctrl+Alt+< p r o j e c t s Ctrl+Alt+< c o r e c l r Enter
 b u Tab Enter
 Ctrl+LeftWindows Ctrl+Backspace RightArrow c d Spacebar , Backspace . . Ctrl+Alt+< c o r e f x Enter
 UpArrow UpArrow Enter
 UpArrow

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.ReallyRender()
   at Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction)
   at Microsoft.PowerShell.PSConsoleReadLine.PreviousHistory(Nullable`1 key, Object arg)
   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)
-----------------------------------------------------------------------

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:4
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
lzybkrcommented, Nov 6, 2017

With b2979d1, this should be completely fixed - no exception and no jumping around after resize.

0reactions
taoyichencommented, Sep 8, 2019

Happens after snap right

Read more comments on GitHub >

github_iconTop Results From Across the Web

Powershell Force Maximize / Reopen if close
Tried running script on default install of windows and works fine. Just need to know what to add back into the stripped down...
Read more >
Windows powershell randomly popping up.
We suggest that you check the Task Scheduler. Click on Start. In the search bar, type Task Scheduler and click on Task Scheduler...
Read more >
Restored down windows not staying on top with maximized ...
By a restored down window, i mean a window that does not occupy the full screen and only a part of it. There...
Read more >
Powershell turning on by itself frequently with error message
Exception calling "Load" with "1" argument(s): "Could not load file ... It happens all the time, I close one window, couple of minutes...
Read more >
about Try Catch Finally - PowerShell
When the script encounters "NonsenseString", it causes a terminating error. The catch block handles the error by running the statement list ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found