Skip to content

feat: change prune keybind to D and add footer display - #4

Merged
tosaka07 merged 1 commit into
mainfrom
fix/prune
Jan 28, 2026
Merged

feat: change prune keybind to D and add footer display#4
tosaka07 merged 1 commit into
mainfrom
fix/prune

Conversation

@tosaka07

@tosaka07 tosaka07 commented Jan 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Change prune shortcut from Ctrl+Shift+D to D (only activates when search input is empty)
  • Allow uppercase character input during search by supporting SHIFT modifier
  • Add prune shortcut (D) to footer and help dialog
  • Add tests for prune keybind behavior

Changes

  • src/input.rs: Update prune keybind logic and add tests
  • src/ui.rs: Update footer and help dialog to display D: prune

Test plan

  • cargo build passes
  • cargo test input::tests passes
  • Manual test: Press D with empty search to trigger prune
  • Manual test: Type D during search to add character to input

- Change prune shortcut from Ctrl+Shift+D to D (only when not searching)
- Allow uppercase input during search by supporting SHIFT modifier
- Update footer and help dialog to show D for prune
- Add tests for prune keybind behavior
@tosaka07 tosaka07 added the enhancement New feature or request label Jan 28, 2026
@tosaka07
tosaka07 marked this pull request as ready for review January 28, 2026 07:38
@tosaka07
tosaka07 merged commit ac66603 into main Jan 28, 2026
5 checks passed
@tosaka07
tosaka07 deleted the fix/prune branch January 28, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant