feat(tui): add a mini help menu when u write ? in the input field#18043
Merged
Conversation
it feels so nice :3 just a lil popup ! doesn't get in the way or take any focus or anything, and directs users to /help for more info :3
Collaborator
Author
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
feat(tui): add a mini help menu when u write ? in the input field
jsboige
pushed a commit
to jsboige/hermes-agent
that referenced
this pull request
May 14, 2026
feat(tui): add a mini help menu when u write ? in the input field
dannyJ848
pushed a commit
to dannyJ848/hermes-agent
that referenced
this pull request
May 17, 2026
feat(tui): add a mini help menu when u write ? in the input field
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
feat(tui): add a mini help menu when u write ? in the input field
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
feat(tui): add a mini help menu when u write ? in the input field
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.

Adds a non-intrusive mini help popup to the TUI composer. When the user types
?into the empty input field, a small floating panel appears above the composer showing common slash commands and a preview of keyboard hotkeys. The popup does not steal focus, includes a hint to type/helpfor the full help panel, and can be dismissed with backspace. This gives new (and forgetful) users a quick reference without leaving the chat flow or opening a full overlay.Related Issue
Fixes #
Type of Change
🐛 Bug fix (non-breaking change that fixes an issue)
✨ New feature (non-breaking change that adds functionality)
🔒 Security fix
📝 Documentation update
✅ Tests (adding or improving test coverage)
♻️ Refactor (no behavior change)
🎯 New skill (bundled or hub)
Changes Made
ui-tui/src/components/helpHint.tsx— new component: renders a positioned popup withCOMMON_COMMANDS(6 frequently-used slash commands) and the first 8 entries fromHOTKEYS, padded to align labels and descriptions. Usesposition="absolute"+bottom="100%"so it floats above the composer without affecting layout or focus.ui-tui/src/components/appLayout.tsx— importsHelpHintand conditionally renders it whencomposer.input === '?' && !composer.inputBuf.length.How to Test
Run
hermes --tui(or the dashboard/chatwhich embeds the TUI).Focus the composer input and type
?and nothing else.Observe the rounded popup appears directly above the prompt, listing commands like
/help,/clear,/resume, and hotkeys.Verify the popup does not intercept typing or arrow-key focus elsewhere.
Press Backspace to remove
?and confirm the popup disappears instantly.Type additional characters after
?(e.g.?h) and confirm the popup does not appear (guard requires!composer.inputBuf.length).Checklist
Code
fix(scope):,feat(scope):, etc.)pytest tests/ -qand all tests passDocumentation & Housekeeping
docs/, docstrings) — or N/Acli-config.yaml.exampleif I added/changed config keys — or N/ACONTRIBUTING.mdorAGENTS.mdif I changed architecture or workflows — or N/AScreenshots