Skip to content

Doesn't work #3979

Closed
Closed
@PriTou

Description

@PriTou

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

Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 200 Keys:
 m h 1 X Y 6 _ f u 3 L 8 I 2 F P e o 1 q z y H W M e C b W p i T h 6 o t G B o M E K A b J 4 q O m P b L B A g X 2 p A 9 l Q n O B U C 4 a - i E i S L X n A x b a 7 2 X C d V g e g m c H 7 s R x G f 4 6 E o = & X - B o g u s = D F S z s w G L F w T A N H D b t L z Q k n 4 m 8 i a w & _ s i g n a t u r e = _ 0 2 B 4 Z 6 w o 0 0 0 0 1 V k d 5 l A A A I D C q d a M 2 k j 3 v u 1 Z P e L A A D O 8 c 2

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -498.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

as

Environment data

as

Steps to reproduce

as

Expected behavior

as

Actual behavior

as

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