2024-03-11 22:08:28 +01:00

9 lines
173 B
Go

package color
import (
"os"
)
// Terminal is a boolean that indicates if we're in a terminal with truecolor support.
var Terminal = os.Getenv("COLORTERM") == "truecolor"