From 53bbcbc223f013c531a2b3ea7bb7b4cb2e3df182 Mon Sep 17 00:00:00 2001 From: lvgx Date: Wed, 8 Jul 2020 17:23:35 +0200 Subject: [PATCH] Update preview-tui (#674) Co-authored-by: akimdi --- plugins/preview-tui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" &