Soften TUI surfaces, typography and loading indicators

This commit is contained in:
2026-10-09 21:03:39 +01:00
parent dd50344170
commit dc9b7b1c02
16 changed files with 221 additions and 65 deletions
+4 -4
View File
@@ -90,11 +90,11 @@ func TestLayoutResizes(t *testing.T) {
if !strings.HasPrefix(lines[len(lines)-1], ": commands") || !strings.Contains(lines[len(lines)-1], "● 20 NEW") || !strings.HasSuffix(lines[len(lines)-1], ":logs ") {
t.Fatalf("invalid footer: %q", lines[len(lines)-1])
}
if !strings.Contains(lines[len(lines)-2], "─") {
t.Fatal("missing footer separator")
if strings.TrimSpace(lines[len(lines)-2]) != "" {
t.Fatal("footer should have breathing room rather than a rule")
}
if !strings.Contains(lines[1], "─") || lipgloss.Width(lines[1]) != size.Width {
t.Fatal("missing full-width header separator")
if strings.TrimSpace(lines[1]) != "" {
t.Fatal("header should have breathing room rather than a rule")
}
}
}