3 Commits
Author SHA1 Message Date
dualfroz 4feae5f7a6 Describe this repository 2026-10-22 21:02:52 +02:00
dualfroz ba0822d4e9 fix(multiselect): enforce selection limit while filtering
The toggle handler's limit guard indexed the unfiltered options slice
with the cursor, but the cursor tracks the filtered slice. When a filter
was applied the two indices diverged, so the guard inspected the wrong
option's selected state and allowed toggling past the configured Limit.

Index the option that is actually being toggled instead, and add a
regression test that selects up to the limit, filters, then verifies a
further toggle is a no-op.
2026-09-02 10:59:11 +02:00
upstream bb7e934525 Upstream charmbracelet/huh state of the touched files before a4f4a7bca9 2026-09-02 10:59:11 +02:00