From e85ccd55337b46db5a88bc7cd79f020a56ddf3cc Mon Sep 17 00:00:00 2001 From: Nikhil Shrivastava Date: Sun, 6 Oct 2024 21:14:21 +0530 Subject: [PATCH] enforce ANSI/light/dark theme for limited color support --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6c81b823..8293c92d 100644 --- a/main.go +++ b/main.go @@ -184,8 +184,8 @@ func main() { os.Exit(1) } if env == termenv.ANSI { - // enforce ANSI theme for limited color support - theme, err = loadTheme("ansi") + // enforce ANSI/light/dark theme for limited color support + theme, err = loadTheme(*themeOpt) if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1)