Skip to content
Discussion options

You must be logged in to vote

Confirmed: this is the MultiSelect counterpart to the wrapped-row redraw bug fixed for the other demand widgets in v2.0.4.

MultiSelect still counted logical lines with output.lines(). In a narrow terminal, the long mise upgrade option labels (or the help footer) wrap into extra physical rows, so each keypress leaves stale rows behind and stacks another copy of the prompt.

I opened a ready-for-review upstream fix: jdx/demand#192

The PR switches MultiSelect to physical-row-aware clearing and adds VT100 terminal regressions for:

  • repeated redraws with a wrapped option
  • shrinking a frame that previously contained wrapped rows
  • preserving the existing no-drift behavior

Once that lands and is re…

Replies: 1 comment

Comment options

jdx
Jul 26, 2026 — with coder-jdx
Maintainer

You must be logged in to vote
0 replies
Answer selected by skoch13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants