charmbracelet / gum

A tool for glamorous shell scripts 🎀
MIT License
17.94k stars 339 forks source link

Pressing `a` to select all in `gum choose` no longer works #550

Closed annervisser closed 2 months ago

annervisser commented 5 months ago

Describe the bug Previously, pressing a on a multi-select gum choose prompt would select all items. This behaviour was broken in 0.14, I'm assuming because of this PR: https://github.com/charmbracelet/gum/pull/521

To Reproduce Steps to reproduce the behavior:

  1. Run gum choose --no-limit x y z
  2. Press a
  3. Nothing happens

Expected behavior

  1. Run gum choose --no-limit x y z
  2. Press a
  3. All items are selected

Screenshots N/A

Desktop:

caarlos0 commented 2 months ago

see https://github.com/charmbracelet/huh/pull/325