Preview-tui add -C to NNN_PAGER

This makes it so that when the paged text is fewer lines than the preview pane, it is placed at the top instead of at the bottom
This commit is contained in:
Luuk van Baal 2023-06-14 09:24:23 +02:00
parent fb6e7403cf
commit 05990dc9e5
No known key found for this signature in database
GPG key ID: E7D1BC845D39FA83

View file

@ -99,7 +99,7 @@ ENVVARS=(
"NNN_SCOPE=${NNN_SCOPE:-0}"
"NNN_PISTOL=${NNN_PISTOL:-0}"
"NNN_ICONLOOKUP=${NNN_ICONLOOKUP:-0}"
"NNN_PAGER=${NNN_PAGER:-less -P?n -R}"
"NNN_PAGER=${NNN_PAGER:-less -P?n -R -C}"
"NNN_BATTHEME=${NNN_BATTHEME:-ansi}"
"NNN_BATSTYLE=${NNN_BATSTYLE:-numbers}"
"NNN_PREVIEWWIDTH=${NNN_PREVIEWWIDTH:-1920}"