diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-07 09:09:31 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-07 09:24:18 +0300 |
| commit | 5e94ba617d19767098bd59506ba1ebfc58c7fd2a (patch) | |
| tree | fb8dc198f3c687514e248ed27dc62cb5bfbac36a /internal/debug | |
| parent | f2b75267a6085f28a415bc8464cf2a70b650e65f (diff) | |
ui: make ultra mode search live and regex-aware
Replace the Enter-to-apply search with live filtering: every keystroke
recompiles the regex and rebuilds ultraFiltered immediately, so results
update as the user types.
Behaviour summary:
- Typing: regex compiled and filter applied on each character.
- Invalid regex mid-type: previous filter kept unchanged (no flicker).
- Enter: confirm and close the input (empty Enter clears the filter).
- Esc: cancel, clear the filter, close the input.
- Regexes are always supported (was already the case via
compileAndCacheRegex, now usable interactively as you type).
Extracted ultraApplySearch() to centralise the compile+filter logic.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/debug')
0 files changed, 0 insertions, 0 deletions
