Rewrite bottom toolbar, but keep it compact#1629
Merged
rolandwalker merged 1 commit intomainfrom Feb 26, 2026
Merged
Conversation
|
No correctness or security issues found in the changes. Missing tests / edge cases:
If you want, I can draft a test matrix and point to a good existing test location. |
8bfc6b9 to
b004e8f
Compare
Contributor
499a73f to
21a2616
Compare
Contributor
Author
|
@scottnemes the "two enters" thing has always been that way and was untouched here. The smart-complete indicator is a great catch; fixed. |
scottnemes
approved these changes
Feb 26, 2026
Contributor
scottnemes
left a comment
There was a problem hiding this comment.
Verified smart completion updates in the toolbar now
* recast show_fish_help() as show_initial_toolbar_help() since it is be used more generally * recast show_suggestion_tip() as show_initial_toolbar_help() so that the caller matches the callee * make a toolbar section divider with a vertical bar * add Tab to permanent list of suggested keys * add F1 to permanent list of suggested keys * add F2 to permanent list of suggested keys and show smart-complete status * only highlight the "ON" part of multiline when on, and remove space. Constraining the total highlighted characters to a smaller number makes the line in general more readable, though the styling of the highlighted letters depends on the configuration. * only highlight the Vi modes when vi edit mode is on, and remove space * only show delimiter text if non-standard or initial, and make the text shorter * make right-arrow help text explain _which_ suggestions are referred to, avoiding the confusing word "complete" * make "refreshing" message shorter with a Unicode ellipsis A key feature of the reorganization is that transient text only can appear on the right, so the keystroke help stays more aligned.
21a2616 to
0aa6948
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
show_fish_help()asshow_initial_toolbar_help()since it is be used more generally.show_suggestion_tip()asshow_initial_toolbar_help()so that the caller matches the callee.A key feature of the reorganization is that transient text only can appear on the right, so the keystroke help stays more aligned.
Toolbar in "initial" mode with extra notes to the right (specific colors/styles depend on user settings):
Toolbar after "initial" mode:
Checklist
changelog.mdfile.AUTHORSfile (or it's already there).