diff --git a/termenv_other.go b/termenv_other.go index 683851e..93a43b6 100644 --- a/termenv_other.go +++ b/termenv_other.go @@ -5,7 +5,9 @@ package termenv import "io" -func colorProfile() Profile { +// ColorProfile returns the supported color profile: +// ANSI256 +func (o Output) ColorProfile() Profile { return ANSI256 } @@ -19,12 +21,6 @@ func (o Output) backgroundColor() Color { return ANSIColor(0) } -// ColorProfile returns the supported color profile: -// Default ANSI -func (o *Output) ColorProfile() Profile { - return ANSI -} - // EnableVirtualTerminalProcessing enables virtual terminal processing on // Windows for w and returns a function that restores w to its previous state. // On non-Windows platforms, or if w does not refer to a terminal, then it