feat: show and hide in the help bar, the same width so it doesn't shift (#24)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit was merged in pull request #24.
This commit is contained in:
kebandClaude Opus 5.5 committed 2026-10-11 23:47:48 +02:00
1 parent 949d069806
commit abb9c57630
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -988,7 +988,7 @@ func TestRebindingShowsEverywhere(t *testing.T) {
if !strings.Contains(scr, "z to reveal") || strings.Contains(scr, "space to reveal") {
t.Errorf("detail hint doesn't follow the binding:\n%s", scr)
}
if !strings.Contains(lastLine(scr), "z reveal") || strings.Contains(lastLine(scr), "reveal/hide") {
if !strings.Contains(lastLine(scr), "z show") {
t.Errorf("help bar: %q", lastLine(scr))
}
d.keys("z")