diff options
author | lvgx <l@vgx.fr> | 2020-07-08 17:23:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 20:53:35 +0530 |
commit | 53bbcbc223f013c531a2b3ea7bb7b4cb2e3df182 (patch) | |
tree | ad05c7794d101855f87122478e21be30e4083b4e /plugins/preview-tui | |
parent | d3e20e90159fb1d6064d4b7c4147aca290ba0f20 (diff) | |
download | nnn-53bbcbc223f013c531a2b3ea7bb7b4cb2e3df182.tar.gz |
Update preview-tui (#674)
Co-authored-by: akimdi <akimdi@users.noreply.github.com>
Diffstat (limited to 'plugins/preview-tui')
-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" & |