PSMenu icon indicating copy to clipboard operation
PSMenu copied to clipboard

Garbage characters when menu item is long

Open frabnet opened this issue 3 years ago • 2 comments

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?

frabnet avatar Oct 25 '22 07:10 frabnet

Hi,

I encountered the same problem. Any change for a fix, or is this project freezed?

skjardenCode avatar Apr 26 '25 16:04 skjardenCode

No this project is not frozen so a PR is welcome.

Met vriendelijke groet, Sebastiaan Dammann


Van: skjardenCode @.> Verzonden: Saturday, April 26, 2025 6:04:20 PM Aan: Sebazzz/PSMenu @.> CC: Subscribed @.***> Onderwerp: Re: [Sebazzz/PSMenu] Garbage characters when menu item is long (Issue #13)

[https://avatars.githubusercontent.com/u/23582335?s=20&v=4]skjardenCode left a comment (Sebazzz/PSMenu#13)https://github.com/Sebazzz/PSMenu/issues/13#issuecomment-2832365038

Hi,

I encountered the same problem. Any change for a fix, or is this project freezed?

— Reply to this email directly, view it on GitHubhttps://github.com/Sebazzz/PSMenu/issues/13#issuecomment-2832365038, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAK4FMMYBZPIGRSAE6QDCED23OVAJAVCNFSM6AAAAAB35RLJ66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMZSGM3DKMBTHA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sebazzz avatar Apr 27 '25 09:04 Sebazzz