Just tinkering with jj locally for the first time. I set PAGER=less in my environment. This seems to override the default pager 'less -FRX' and hence ANSI escape sequences are not rendered properly (since -FRX is not passed).
Steps to Reproduce the Problem
Run PAGER=less jj --help with a clean configuration
Expected Behavior
Help is rendered either in plain text or with escape sequences processed properly
Actual Behavior
ANSI escape sequences are shown:
$ PAGER=less jj --help
Jujutsu (An experimental VCS)
To get started, see the tutorial at https://github.com/martinvonz/jj/blob/main/docs/tutorial.md.
ESC[1mESC[4mUsage:ESC[0m ESC[1mjjESC[0m [OPTIONS] <COMMAND>
[...]
Note that env -u PAGER jj --help works as intended.
Specifications
- Platform: Linux
- Version: 0.16.0
Just tinkering with jj locally for the first time. I set
PAGER=lessin my environment. This seems to override the default pager 'less -FRX' and hence ANSI escape sequences are not rendered properly (since -FRX is not passed).Steps to Reproduce the Problem
Run
PAGER=less jj --helpwith a clean configurationExpected Behavior
Help is rendered either in plain text or with escape sequences processed properly
Actual Behavior
ANSI escape sequences are shown:
Note that
env -u PAGER jj --helpworks as intended.Specifications