This repository has no description
Something went wrong. Try again.
terminal: cover selection drop when all matches disappear master
selectPrev's wrap (active_len + history_len - 1) would underflow if a selection were live while both result lists are empty. Add a test that exercises the invariant making that unreachable: overwriting the only match forces a reload that empties both lists and drops the selection, so the next select() hits the no-matches guard instead of the wrap arithmetic.
Author Claude Opus 4.8 Committer Lukas Date (Jun 5, 2026, 9:21 PM UTC) Commit bd365e1a bd365e1aa96133b7876221aa7b58dabb3c58e040 Parent d6494544 d6494544cf9f6df963ae32377f3c7783545d9804