Repository navigation
LESS='--clear-screen' makes bat go wrong
#2288
Unanswered
QuarticCat
asked this question in
Q&A
Replies: 1 comment
|
Solved. It turns out that My configurations are export LESS='--quit-if-one-screen --RAW-CONTROL-CHARS --chop-long-lines --clear-screen'
export BAT_PAGER='less --quit-if-one-screen --RAW-CONTROL-CHARS --no-init -+c'
export MANPAGER='sh -c "col -bx | bat -pl man --theme=Monokai\ Extended"'
export MANROFFOPT='-c'Then when using |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
You can see that bat outputs extra
~lines.But if I set
$ export BAT_PAGER='less --quit-if-one-screen --RAW-CONTROL-CHARS --no-init -+clear-screen'I will get
All reactions