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
@@ -136,7 +136,7 @@ func TestLayoutIsSaved(t *testing.T) {
func TestContextHelpBar(t *testing.T) {
t.Parallel()
d := newDriver(t)
if bar := lastLine(d.screen()); !strings.Contains(bar, "S share") || !strings.HasSuffix(strings.TrimSpace(bar), "? help • q quit") || strings.Contains(bar, "space reveal") {
if bar := lastLine(d.screen()); !strings.Contains(bar, "S share") || !strings.HasSuffix(strings.TrimSpace(bar), "? help • q quit") || strings.Contains(bar, "space show") {
t.Errorf("Sources help bar: %q", bar)
}
d.keys("3")