commit 91cf9495bfe06ab6901c28f98cddfd42067738f7
parent 62c84dd2549770e15c70328863a63da4fd2da2f9
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Mon, 3 Feb 2025 22:19:29 +0530
Merge pull request #1988 from psicho2000/feat/maximize-lowdown
Allow lowdown to use complete terminal width
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/nuke b/plugins/nuke
@@ -226,7 +226,8 @@ handle_extension() {
glow -sdark "${FPATH}" | eval "$PAGER"
exit 0
elif type lowdown >/dev/null 2>&1; then
- lowdown -Tterm "${FPATH}" | eval "$PAGER"
+ cols=$(tput cols)
+ lowdown -Tterm --term-width="$cols" --term-column="$cols" "${FPATH}" | eval "$PAGER"
exit 0
fi
;;