Skip to content

Commit

Permalink
Merge pull request #1988 from psicho2000/feat/maximize-lowdown
Browse files Browse the repository at this point in the history
Allow lowdown to use complete terminal width
  • Loading branch information
jarun authored Feb 3, 2025
2 parents 62c84dd + 5c0fe2a commit 91cf949
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/nuke
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 91cf949

Please sign in to comment.