[PR #8810] Teach tab tool tips to show key bindings #27303

Open
opened 2026-01-31 09:21:14 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/8810

State: closed
Merged: Yes


PR Checklist

Detailed Description of the Pull Request / Additional comments

Currently the tab tool tip is the tab's title.
The PR teaches the TabBase to check if there is a switch to tab command
associated with the current tab index,
if so concatenates the the relevant mapping to the too tip.

Of course, prefers user defined bindings to the default ones.

Moved tool tip logic to TabBase so SettingsTab has tooltip as well.

TabToolTip

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8810 **State:** closed **Merged:** Yes --- <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes https://github.com/microsoft/terminal/issues/2886 * [x] CLA signed. * [ ] Tests added/passed * [ ] Documentation updated. * [ ] Schema updated. * [ ] I've discussed this with core contributors already. ## Detailed Description of the Pull Request / Additional comments Currently the tab tool tip is the tab's title. The PR teaches the TabBase to check if there is a switch to tab command associated with the current tab index, if so concatenates the the relevant mapping to the too tip. Of course, prefers user defined bindings to the default ones. Moved tool tip logic to TabBase so SettingsTab has tooltip as well. ![TabToolTip](https://user-images.githubusercontent.com/4639110/104823154-a1cb1100-5850-11eb-9dbd-bf23f5e6979d.gif)
claunia added the pull-request label 2026-01-31 09:21:14 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27303