Skip to content

Error when I run a python program after an VS code update #4522

Closed
@ameenullahsami

Description

@ameenullahsami

I recently updated my VS Code to 1.97.2 in windows 10
System Details: Version: 1.97.2 (system setup)
Commit: e54c774e0add60467559eb0d1e229c6452cf8447
Date: 2025-02-12T23:20:35.343Z
Electron: 32.2.7
ElectronBuildId: 10982180
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

It gives me the following error when I run a python program in VS Code TERMINAL.


Letzte 4 Tasten:
& Space " C

Ausnahme:
System.ArgumentOutOfRangeException: Der Wert muss größer als oder gleich 0 (null) sein und geringer als die Puffergröße der Konsole in dieser Dimension.
Parametername: left
Der tatsächliche Wert war -2.
bei System.Console.SetCursorPosition(Int32 left, Int32 top)
bei Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
bei Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
bei Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
bei Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
bei Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) bei Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
bei Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
bei Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions