Repository navigation
Closed
Labels
fit-and-finishPolish & correctness of surface details: labels, wording, alignment, spacing, visual statetuimecatui terminal UI (rendering, keybindings, footer, panes, scrollback)
Description
Problem
Following #455 (which makes the ? help overlay read live from the keyMap), several other mecatui surfaces still hardcode chord strings and won't reflect an operator's keymap override:
cmd/mecatui/ui/footer.go— footer affordance text, e.g.ctrl+a agents,ctrl+t trace(lines ~382, 390, 419, 426, 443, 450).cmd/mecatui/ui/render.go— inline-card / affordance strings referencingctrl+a,ctrl+t(lines ~1192, 1194, 1692, 1891, 1901, 2355, 2403).
After an operator remaps Agents off ctrl+a (the motivating case in #455 — freeing ctrl+a/ctrl+e for line editing), the footer would still tell them to press ctrl+a. The help overlay is fixed in #455; these surfaces are a separate, larger liveness sweep because the chord text is woven through many render paths rather than centralized behind a marking helper.
What "done" looks like
- Audit
footer.go/render.go(and any other surface that prints a chord) for hardcoded chord literals that correspond to a rebindablekeyMapaction. - Route each through a live marking (the same
agentsKeyMarking()/helpKeyMarkings()pattern fromhelp.go) so a rebind propagates. - Where a chord is genuinely fixed (not in
keyMap/validActions), leave it — but confirm it's actually non-rebindable first. - Test: extend the liveness test pattern from docs: mecatui keybindings are configurable but undocumented #455 (
TestHelpReflectsKeyOverride) to assert a remapped action's new chord appears in the footer/affordance rendering and the old one doesn't.
Context
- docs: mecatui keybindings are configurable but undocumented #455 — keymap docs + help-overlay liveness (the
?overlay fix). - mecatui: live-reload operator settings (keymap) without restart #456 — live-reload of settings (a separate concern; this issue is about rendering the configured chords, not re-reading the file).
- The full default-action table lands in
docs/tui.mdunder docs: mecatui keybindings are configurable but undocumented #455 — that table is the reference for which actions are rebindable.
Metadata
Metadata
Assignees
Labels
fit-and-finishPolish & correctness of surface details: labels, wording, alignment, spacing, visual statetuimecatui terminal UI (rendering, keybindings, footer, panes, scrollback)
Activity
docs+fix(mecatui): document keymap overrides, live help-overlay bindi…