diff options
-rwxr-xr-x | plugins/preview-tui | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/preview-tui b/plugins/preview-tui index f12bf1e..4cf98ab 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" & |