Skip to content

Restore ctrl-r binding for searching prompt history#1759

Merged
rumpl merged 1 commit intodocker:mainfrom
krissetto:fix-ctrl-r
Feb 17, 2026
Merged

Restore ctrl-r binding for searching prompt history#1759
rumpl merged 1 commit intodocker:mainfrom
krissetto:fix-ctrl-r

Conversation

@krissetto
Copy link
Contributor

fixes an oopsie

closes #1758

Signed-off-by: Christopher Petito <chrisjpetito@gmail.com>
@krissetto krissetto requested a review from a team as a code owner February 16, 2026 23:01
Copy link

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

Approved - No issues found in the changed code.

This PR successfully restores the Ctrl+r binding for history search. The implementation:

  • Properly adds the Ctrl+r key binding to the help display
  • Correctly suppresses tab bar keys (Ctrl+n/Ctrl+p) during history search to allow cycling through matches
  • Implements proper modal state handling for history search to capture keys before normal routing
  • Includes appropriate conditional checks before entering history search mode

All type assertions follow the Bubble Tea component pattern where Update() and lifecycle methods always return valid model instances. The code is consistent with the existing codebase patterns.

@rumpl rumpl merged commit 1f9d59f into docker:main Feb 17, 2026
8 checks passed
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.

Reverse search no longer works

2 participants