Skip to content

UpArrow #4013

Closed
Closed
@Smhish

Description

@Smhish

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

糟糕,發生問題。請回報此錯誤並提供下面的詳細資料。
於 GitHub 回報:https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
前 1 個按鍵:
 UpArrow

例外狀況:
System.ArgumentOutOfRangeException: 值必須大於或等於零,並且小於該維度中主控台的緩衝區大小。
參數名稱: top
實際的值為 -2。
   於 System.Console.SetCursorPosition(Int32 left, Int32 top)
   於 Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   於 Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   於 Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction)
   於 Microsoft.PowerShell.PSConsoleReadLine.PreviousHistory(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

UpArrow

Environment data

UpArrow

Steps to reproduce

UpArrow

Expected behavior

UpArrow

Actual behavior

UpArrow

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