Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StreamsKey = Key{}
StreamsKey is a global instance of the Key type
Functions ¶
func HasTrueColorEnv ¶ added in v0.8.0
func HasTrueColorEnv() bool
HasTrueColorEnv reports whether the COLORTERM environment variable indicates TrueColor support. The charmbracelet/colorprofile detector deliberately ignores COLORTERM inside tmux, but tmux does support TrueColor when configured — this helper lets callers restore the behaviour of the previous termenv-based detection.
Types ¶
type IOStreams ¶
func NewTestIOStreams ¶
func NewTestIOStreamsOnly ¶
func NewTestIOStreamsOnly() *IOStreams
Click to show internal directories.
Click to hide internal directories.