commit 5c0fe2a85cbd18fba98fa69ba10def069e524b8e parent 62c84dd2549770e15c70328863a63da4fd2da2f9 Author: Markus Meier <markus.d.meier@gmail.com> Date: Sun, 2 Feb 2025 13:52:07 +0100 Allow lowdown to use complete terminal width Diffstat:
| M | plugins/nuke | | | 3 | ++- |
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 ;;