Skip to content

Garbage characters when menu item is long #13

@frabnet

Description

@frabnet

Hi and thanks for your work.

I just found a weird behavior: if menu item is long, some characters stay printed on screen when scrolling.

Here you can see the problem:

image
image

A bit more details:

  • It happens only when navigating down using keyboard. Navigating up clears the error.
  • After a few tries, it seems to happen only when string is greater or equal than $Host.UI.RawUI.WindowSize.Width - 55
  • I've reproduced the problem in two Windows 11 PC, with standard Powershell 5.1, default terminal size width is 120

Do you have any idea on what can cause this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions