Skip to content

ошибка #4995

@daitbegg-dot

Description

@daitbegg-dot

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

Последние клавиши 11:
 & Space C : / U s e r s /

Исключение:
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.ForceRender()
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

Последние клавиши 11:
& Space C : / U s e r s /

Исключение:
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.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)

Environment data

Последние клавиши 11:
 & Space C : / U s e r s /

Исключение:
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.ForceRender()
   в Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   в Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   в Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   в Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Steps to reproduce

Последние клавиши 11:
& Space C : / U s e r s /

Исключение:
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.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)

Expected behavior

Последние клавиши 11:
& Space C : / U s e r s /

Исключение:
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.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)

Actual behavior

Последние клавиши 11:
& Space C : / U s e r s /

Исключение:
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.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

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions