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
{{ message }}
Repository navigation
vs-code terminal issue while cloning repository #5154
Search the existing issues, especially the pinned issues.
Exception report
Last 1 Keys: Ctrl+vException:System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the buffer size of the console of this size.Parameter name: topReal value was -1. location: System.Console.SetCursorPosition(Int32 left, Int32 top) location: Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor) location: Microsoft.PowerShell.PSConsoleReadLine.ForceRender() location: Microsoft.PowerShell.PSConsoleReadLine.Paste(Nullable`1 key, Object arg) location: Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg) location: Microsoft.PowerShell.PSConsoleReadLine.InputLoop() location: Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
Screenshot
* The translation of exception is given on the exception report.
Under normal circumstances Ctrl + V should not have given an error and the git command should have been pasted on powershell and it should have cloned the required repository.
Actual behavior
Got an ArgumentOutOfRange exception of the top parameter and powershell did not work as intended.
"git clone https://github.com/ppy/osu" given parameter as an example should not have caused such an error.
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.
Activity
github-actions commentedon May 24, 2026
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.