You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search the existing issues, especially the pinned issues.
Exception report
Empty powershell console when dropping in a batch file named: Backup source SSUpdaterTool.bat in Visual Code.Powershell exception:----------------------------------------------------------------------- Last 1 Keys: &Exception:System.ArgumentOutOfRangeException: De waarde moet groter zijn dan of gelijk zijn aan nul en minder zijn dan de buffergrootte van de console in die dimensie.Parameternaam: leftWerkelijke waarde was -2. bij System.Console.SetCursorPosition(Int32 left, Int32 top) bij Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value) bij Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) bij Microsoft.PowerShell.PSConsoleReadLine.ForceRender() bij Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c) bij Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg) bij Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg) bij Microsoft.PowerShell.PSConsoleReadLine.InputLoop() bij Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics) -----------------------------------------------------------------------Visual code info:Version: 1.99.0Commit: 4437686ffebaf200fa4a6e6e67f735f3edf24adaDate: 2025-04-02T21:35:19.530ZElectron: 34.3.2ElectronBuildId: 11161073Chromium: 132.0.6834.210Node.js: 20.18.3V8: 13.2.152.41-electron.0OS: Windows_NT x64 10.0.19045
This issue was already fixed (see #1306). Please upgrade to the 2.3.5 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.
Prerequisites
Exception report
Screenshot
Environment data
Steps to reproduce
Stated in exception report.
Expected behavior
The file name appearing in the console, so I can press enter to run it.
Actual behavior
Crashes the moment I drop the batch file into the powershell terminal from the VScode file tree.
The text was updated successfully, but these errors were encountered: