Skip to content

мне сказали отправить вам это #4920

@gniga50-star

Description

@gniga50-star

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

Последние клавиши 50:
 Space & Space ' c : \ U s e r s \ P a s h a _ s i g m a 1 2 6 9 \ A p p D a t a \ L o c a l \ P r o g r a m

Исключение:
System.ArgumentOutOfRangeException: Значение должно быть больше или равно нулю и меньше, чем размер буфера в данной размерности.
Имя параметра: left
Фактическое значение было -2.
   в System.Console.SetCursorPosition(Int32 left, Int32 top)
   в Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)    
   в Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft.PowerShell.PSConsoleReadLine.PerocessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft.PowerShell.PSConsoleReadLin в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)                                                                  ' '
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft.PowerShell.PSConsoleRea  xe-''dL в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)                                                                 '
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft.PowerShell.PSConsoleRea.eolene.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)                                                              89
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft.PowerShell.PSCons.PSCoadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)   
nsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Objec       pythont argMicrosoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)        cher' 
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft.PowerShellhon313\.Poell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreoAcn, \debugpwerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean igв Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
noreIfNoAction, Object arg)                                                                     ntrinsics) 
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft        Pyto.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Bol\Python\ndl
ft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable,   0-winx64   в Microsoft.PowerShell.PSConsoleReadLine.InputLoop()                                         ts.py   
Boolean ignoreIfNoAction, Object arg)                                                        neI
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTableamssoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTa  -22b  в Microsoft.PowerShell.PSConsoleReadLine.InputLoop()                                      los
le, Boolean ignoreIfNoAction, Object arg)                                                  gi
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)   в Micr
Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dsacTgrispatchTable, Boolean ignoreIfNoAction, Object arg)                                        ug
   в Microsoft.PowerShell.PSConsoleReadLine.InputLoop()                                    9\
   в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics ens engineIntrinsics)

Screenshot

N/A

Environment data

PS C:\Users\Pasha_sigma1269\Downloads\pyton>  & 'c:\Users\Pasha_sigma1269\AppData\Local\Pro\Programs\Python\Python313\python.exe' 'c:\Users\Pasha_sigma1269\.vscode\extensions\ms-yhndpython.debugpy-2025.10.0-win32-x64\bundled\libs\debugpy\launcher' '58689' '--' 'C:\UserPhsms\Pasha_sigma1269\Downloads\pyton\lists.py'

Steps to reproduce

write "command list"

Expected behavior

working

Actual behavior

not working

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