From c8aa411d3e145ce8a014d553e53e3f6203c315b6 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 24 Nov 2024 21:19:22 +0100 Subject: fix(modules/lf/ctpv/prev/glow): Force glow to colorize the output --- modules/by-name/lf/lf/ctpv/prev/glow.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/by-name') diff --git a/modules/by-name/lf/lf/ctpv/prev/glow.sh b/modules/by-name/lf/lf/ctpv/prev/glow.sh index 3b3fb609..c77bfa41 100644 --- a/modules/by-name/lf/lf/ctpv/prev/glow.sh +++ b/modules/by-name/lf/lf/ctpv/prev/glow.sh @@ -10,4 +10,6 @@ w="$w" . %HELPERS -glow --style auto --width "$w" "$f" +# Specify the style, to force `glow` to output colors. +# tracking issue: https://github.com/charmbracelet/glow/issues/654 +glow --style dark --width "$w" "$f" -- cgit 1.4.1