Skip to content

System.ArgumentOutOfRangeException in PSReadLine - Invalid Cursor Position (Value: -2) #4235

@Dmitriy10000

Description

@Dmitriy10000

Prerequisites

Произошла ошибка. Сообщите об этой ошибке, указав данные ниже.
Напишите в GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Последние клавиши 1:
&

Исключение:
System.ArgumentOutOfRangeException: Значение должно быть больше или равно нулю и меньше, чем размер буфера в данной размерности.
Имя параметра: left
Фактическое значение было -2.
в System.Console.SetCursorPosition(Int32 left, Int32 top)
в Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
в Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) в Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
в Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-DocsIt's a documentation issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions