Repository navigation
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
PS C:\Users\Elsawah\Desktop\Visual Studio Code>
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 197 Keys:
& Space C : / U s e r s / E l s a w a h / A p
p D a t a / L o c a l / M i c r o s o f t / W i n d o w s A p p s / p y t h o n 3 . 1 2 . e x
e Space " c : / U s e r s / E l s a w a h / D o w n l o a d s / M a s t e r i n g Space 4 Space c r i t i c a l Space S K I L L S Space u s i n g Space P y t h o n / 0 3 Space P r i n t i
n g / 0 4 Space P r i n t i n g Space H o m e w o r k / P y t h o n Space C o n t r o l Space
F l o w . t x t " Enter
Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: left
Actual value was -2.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, ect arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspa engineIntrinsics)
------------------------------------------------------------
PS C:\Users\Elsawah\Desktop\Visual Studio Code>& C:/Users/El/WindowsApps/python3.12.exe "c:/Users/Elsawah/Downloads/Mast/WindowsApps/python3.12.exe "c:/Users/Elsawah/Downloads/Mast/WindowsApps/python3.12.exe "c:/Users/Elsawah/Downloads/Mast/WindowsApps/python3.12.exe "c:/Users/Elsawah/Downloads/Mast/WindowsApps/python3.12.exe "c:/Users/Elsawah/Downloads/MastL using Python/03 Printing/04 Printing Homework/Python Contr
/WindowsApps/python3.12.exe "c:/Users/Elsawah/Downloads/MastKffline or High Latency
/WindowsApps/python3.12.exe "c:/Users/Elsawah/Downloads/MastSffline or High Latency
SKILLS using Python/03 Printing/04 Printing Homework/Python SKILLS using Python/03 Printing/04 Printing Homework/Python SKILLS using Python/03 Printing/04 Printing Homework/Python SKILLS using Python/03 Printing/04 Printing Homework/Python SKILLS using Python/03 Printing/04 Printing Homework/Python r Flow.txt"
SKILLS using Python/03 Printing/04 Printing Homework/Python tnline: Moderate Latency
SKILLS using Python/03 Printing/04 Printing Homework/Python nnline: Moderate Latency
SKILLS using Python/03 Printing/04 Printing Homework/Python Control Flow.txt"
Online: Moderate Latency
Offline or High Latency
Online: Moderate Latency
900.0
990.0
900
False
All entries are valid.
PS C:\Users\Elsawah\Desktop\Visual Studio Code> Flow.txt"
>>Screenshot
Environment data
Fix The ProblemSteps to reproduce
Fix The Problem
Expected behavior
Fix The Problem
Actual behavior
Fix The Problem
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Nov 2, 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.