Soften TUI surfaces, typography and loading indicators
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user