v0.1.8 inline: ANSI 16 styles, a 16-color mode for text consoles

This commit is contained in:
lixen committed 2026-10-04 00:16:59 -04:00
1 parent ea9a20c5de
commit aa004f3aba
8 files changed
+137 -30

No files matched your search

+3
View File
@@ -9,6 +9,9 @@ import (
)
func detectColorMode() colorMode {
if textConsole() {
return colorMode16
}
if os.Getenv("WT_SESSION") != "" || os.Getenv("WT_PROFILE_ID") != "" {
return colorModeTrueColor
}