diff --git a/plugins/preview-tui b/plugins/preview-tui index f12bf1e9..4cf98ab0 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -173,7 +173,7 @@ preview_file () { fifo_pager man -Pcat -l "$1" else if exists bat; then - fifo_pager bat --paging=never --decorations=always --color=always \ + fifo_pager bat --terminal-width="$cols" --paging=never --decorations=always --color=always \ "$1" 2>/dev/null else $PAGER "$1" &