Skip to content

fix: move Commands hint to left side for better discoverability#105

Merged
Maxteabag merged 1 commit intoMaxteabag:mainfrom
koriyoshi2041:fix/commands-hint-position
Jan 31, 2026
Merged

fix: move Commands hint to left side for better discoverability#105
Maxteabag merged 1 commit intoMaxteabag:mainfrom
koriyoshi2041:fix/commands-hint-position

Conversation

@koriyoshi2041
Copy link
Contributor

Summary

Fixes #83

The 'Commands' hint was positioned at the far right of the status bar using right=True, making it nearly invisible to users. Many users reported not being able to find how to quit the application.

Problem

┌────────────────────────────────────────────────────────────────────────────┐
│  [Filter] [Navigation hints...]                                  Commands │
└────────────────────────────────────────────────────────────────────────────┘
                                                                    ↑ Hidden!

Solution

Remove right=True from the leader_key binding so the hint appears on the left with other hints:

# Before
self.allows("leader_key", key="<space>", label="Leader", right=True)

# After
self.allows("leader_key", key="<space>", label="Commands")

Also renamed the label from 'Leader' to 'Commands' for clarity.

Result

┌────────────────────────────────────────────────────────────────────────────┐
│  [Commands] [Filter] [Navigation hints...]                                 │
└────────────────────────────────────────────────────────────────────────────┘
    ↑ Visible!

Testing

All 11 related tests pass.

Fixes Maxteabag#83

The 'Commands' hint was positioned at the far right of the status bar,
making it nearly invisible to users. Many users couldn't find how to
exit the application.

Changed the leader_key binding to not use right=True, so the hint
now appears on the left with other hints where it's more discoverable.

Also renamed label from 'Leader' to 'Commands' for clarity.
@Maxteabag Maxteabag merged commit ac15fbe into Maxteabag:main Jan 31, 2026
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.

Reposition commands hint for better discoverability

2 participants