Skip to content

例外狀況 #5029

@richard5575115

Description

@richard5575115

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

System.ArgumentOutOfRangeException: 值必須大於或等於零,並且小於該維度中主控台的緩衝區大小。
參數名稱: left
實際的值為 -2。
   於 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

N/A」

Environment data

version 1.39.0

Steps to reproduce

compiler

Expected behavior

n/a

Actual behavior

n/a

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