Repository navigation
System.ArgumentOutOfRangeException #5049
Copy link
Copy link
Closed
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
Ultimi 5 tasti:
& Space C : /
Eccezione:
System.ArgumentOutOfRangeException: Il valore deve essere maggiore o uguale a zero e minore della grandezza del buffer della console in tale dimensione.
Nome parametro: left
in System.Console.SetCursorPosition(Int32 left, Int32 top)
in Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
in Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
in Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
in Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
in Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
in Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
in Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
in Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)Screenshot
Environment data
PS Version: 5.1.19041.6456
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.4522 (WinBuild.160101.0800)
BufferWidth: 219
BufferHeight: 12Steps to reproduce
print()
Expected behavior
& C:/Python314/python.exe {path}/prova.py
Actual behavior
PS [path]
Si è verificato un problema. Segnala il bug con i dettagli riportati di seguito.
Segnala su GitHub: https://github.com/lzybkr/PSReadLine/issues/new
Ultimi 6 tasti:
& Space C : / P
Eccezione:
System.ArgumentOutOfRangeException: Il valore deve essere maggiore o uguale a zero e minore della grandezza del buffer della console in tale dimensione.
Nome parametro: left
in System.Console.SetCursorPosition(Int32 left, Int32 top)
in Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
in Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
in Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
in Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
in Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) in Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
in Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
in Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
PS {path] & C:/Python314/python.exe {path}/prova.py
PS {path}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Dec 27, 2025
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.