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
I encountered a `System.ArgumentOutOfRangeException` while using VS code and want to print("hellow world", "\n", "your computer is hacked" ), which occurred when setting the console's cursor position. Below is the error message I received:Oops, something went wrong. Please report this bug with the details below. Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/newLast 7 Keys: & Space C : / U sException: 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 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(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)
I just used the Fn in VS code in Pyhton language that print("hellow world", "\n" "your computer is hacked").
Please find the attached image for your better understanding
Expected behavior
hellow world
your computer is hacked
Actual behavior
The text was updated successfully, but these errors were encountered:
Hi, I’m a beginner at coding, and I encountered this error while coding in inside Visual Studio Code for Python Language. I'm not very familiar with concepts like PowerShell version, buffer height/width, and PSReadLine. Could you guide me on how to find the details you need or if there's something specific I should do to resolve this issue?
You are using a very old version of the PSReadLine module (2.0.0-beta2 or prior). The issue can be resolved by upgrading to the latest 2.3.6 version of PSReadLine, simply by running Install-Module PSReadLine -RequiredVersion 2.3.6 -Repository PSGallery -Scope CurrentUser from within your PowerShell. Afterwards, start a new PowerShell session and you should be good to go.
Prerequisites
Exception report
Screenshot
Environment data
Steps to reproduce
I just used the Fn in VS code in Pyhton language that print("hellow world", "\n" "your computer is hacked").
Please find the attached image for your better understanding
Expected behavior
hellow world
your computer is hacked
Actual behavior
The text was updated successfully, but these errors were encountered: