auto cover style: use sextants when fontconfig has a font with the glyphs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 23:08:52 +02:00
co-authored by Claude Sonnet 5.5
parent 108541af91
commit b3275f6a81
7 changed files with 62 additions and 5 deletions
+2
View File
@@ -143,6 +143,8 @@ func TestPlaceholderCell(t *testing.T) {
}
func TestKittyTerminalDetection(t *testing.T) {
defer func(old func() bool) { sextantFontAvailable = old }(sextantFontAvailable)
sextantFontAvailable = func() bool { return false } // not what these cases are about
env := func(m map[string]string) func(string) string { return func(k string) string { return m[k] } }
for _, tc := range []struct {
name string