Skip to content

feat(tui): add fuzzy prompt history search - #36

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
recovery/prompt-history-search
Jul 19, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
recovery/prompt-history-search

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add /history and Ctrl+R fuzzy search over prompts from the current TUI session
  • keep the current draft untouched until Enter or Tab accepts a result, while Esc cancels and repeated Ctrl+R cycles matches
  • bound results to 100, retain duplicate history positions, prefer newer equal-score matches, and support keyboard, paste, wheel, and mouse selection
  • register and document the command, and add focused ranking, navigation, rendering, and slash-policy coverage

Validation

Validated with the same published A3S dependency boundary used by CI:

  • cargo fmt --all -- --check
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo test --locked --all-targets
  • CARGO_PROFILE_RELEASE_LTO=false cargo build --locked --release

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 929edd2 into main Jul 19, 2026
3 checks passed
@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor Author

Integrated through #40 at merge commit c252583e413f70a4cb265012d776f9d050b94de5. The consolidated v0.9.7 branch contains this PR's latest head e63e8e2dfce54fe8729397b2767f4ac1dd0fcf9e and passed Linux, macOS, and Windows CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant