Skip to content

feat(tui): add mouse navigation support - #11

Open
RaviTharuma wants to merge 1 commit into
thanhdat77:mainfrom
RaviTharuma:feat/mouse-support
Open

feat(tui): add mouse navigation support#11
RaviTharuma wants to merge 1 commit into
thanhdat77:mainfrom
RaviTharuma:feat/mouse-support

Conversation

@RaviTharuma

Copy link
Copy Markdown

Summary

  • enable mouse capture while the TUI is active and restore the terminal cleanly on exit
  • support wheel navigation, click-to-select, and clicking the selected result to open it
  • map clicks through rendered list rows so grouped and detailed result layouts select the correct entry

Closes #7.

Checks

  • cargo fmt --check (validated with rustfmt; the rustup cargo-fmt component is unavailable locally)
  • cargo clippy -- -D warnings
  • cargo test tui::tests (21 passed)
  • cargo test (65 passed; 2 pre-existing app tests fail because their fixture expects HERDR_NAVIGATOR_LAUNCH_WORKSPACE_ID)

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@RaviTharuma

Copy link
Copy Markdown
Author

Primary issue: #7 (also supersedes closed duplicate #8).

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.

Mouse click/scroll unsupported: TUI never enables mouse capture or handles Event::Mouse

1 participant