diff --git a/output.go b/output.go index ac7abab..20029b7 100644 --- a/output.go +++ b/output.go @@ -104,14 +104,10 @@ func WithProfile(profile Profile) OutputOption { } // WithColorCache returns a new OutputOption with fore- and background color values -// pre-fetched and cached. +// cached on first access. func WithColorCache(v bool) OutputOption { return func(o *Output) { o.cache = v - - // cache the values now - _ = o.ForegroundColor() - _ = o.BackgroundColor() } }