Closed ippsav closed 1 year ago
@dandavison all fixed ! that's true now that i reread the source code of bat, no need for handling BAT_PAGER
, thanks !
Perfect, thanks for doing this!
You're welcome ! it was a fun thing to do ! and thanks for making such a useful app !
Bug
Colors wouldn't render properly in case the
$PAGER
is set tomore
ormost
.(fix for #1490 )Solution
Handle the case where
$PAGER
is set tomore
ormost
by usingbat::config::get_pager_executable
which sets the pager toless
if that's the case.Unit tests: