Skip to content

fix: use alt modifier for session browser shortcuts to avoid search conflict#1653

Closed
rumpl wants to merge 1 commit intodocker:mainfrom
rumpl:session-search
Closed

fix: use alt modifier for session browser shortcuts to avoid search conflict#1653
rumpl wants to merge 1 commit intodocker:mainfrom
rumpl:session-search

Conversation

@rumpl
Copy link
Member

@rumpl rumpl commented Feb 9, 2026

Plain s, f, and c keys were intercepted by the star, filter, and copy-id actions before reaching the search text input, making it impossible to search for sessions containing those characters.

Change the key bindings to alt+s, alt+f, and alt+c so that unmodified key presses are forwarded to the search input as expected.

Fixes #1642

…onflict

Plain 's', 'f', and 'c' keys were intercepted by the star, filter,
and copy-id actions before reaching the search text input, making it
impossible to search for sessions containing those characters.

Change the key bindings to alt+s, alt+f, and alt+c so that unmodified
key presses are forwarded to the search input as expected.

Fixes docker#1642

Assisted-By: cagent
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl requested a review from a team as a code owner February 9, 2026 12:42
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Review Summary

No issues found!

The changes look good. The PR correctly updates the key bindings from plain s, f, and c to alt+s, alt+f, and alt+c to avoid conflicts with the search input field. The implementation is:

  • Syntactically correct: Uses the proper key binding syntax for the bubbles/key library
  • Consistent: Both the key binding definitions and help text are updated consistently
  • Well-aligned with the fix: Solves the stated problem in issue #1642 by allowing unmodified keys to reach the search input

Nice fix! 🎉

Copy link
Contributor

@krissetto krissetto left a comment

Choose a reason for hiding this comment

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

have you tested this on mac? i remember alt combos being problematic with macOS capturing them and printing chars like ß instead

@dgageot
Copy link
Member

dgageot commented Feb 9, 2026

@rumpl lol, I implemented the search field before the shortcuts but never used it...
Also this doesn't work for me.

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.

Impossible to search certain sessions

3 participants