PSReadLine icon indicating copy to clipboard operation
PSReadLine copied to clipboard

PowerShell fails with every key press

Open austonli opened this issue 6 years ago • 2 comments

Last 1 Keys: a

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

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.__Error.WinIOError() at System.Console.set_CursorVisible(Boolean value) at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorVisible(Boolean value) at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) at Microsoft.PowerShell.PSConsoleReadLine.ForceRender() at Microsoft.PowerShell.PSConsoleReadLine.Render() at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c) at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.InputLoop() at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

austonli avatar Jan 28 '20 23:01 austonli

From the bug report template:

The maintainer may close your issue without further explanation or engagement if:
- You delete this entire template and go your own path;
- You file an issue that has many duplicates;
- You file an issue completely blank in the body.

daxian-dbw avatar Jan 29 '20 06:01 daxian-dbw

By looking from the exception stack trace, it's very likely fixed in recent versions. You can try out the latest version from PowerShell Gallery.

daxian-dbw avatar Jan 29 '20 06:01 daxian-dbw