3 ms·
on mac, pointing to one file doesn't page the output. I can't get the output paged using `less`, it loses all the formatting and color. starting the TUI (no arg
by dimator 4y ago
on mac, pointing to one file doesn't page the output. I can't get the output paged using `less`, it loses all the formatting and color. starting the TUI (no args) and then choosing the file works fine, however.
less --version
less 608 (PCRE2 regular expressions)
- 7362398724 4y agoare you using `less -r` to pass through raw ansi code? it also looks like it has a `-p` option for a pager > CLI output can be displayed in your preferred pager with the -p flag. This defaults to the ANSI-aware less -r if $PAGER is not explicitly set.
- dimator 4y agoyes, was using `less -r` but `glow -p file.md` is working great! thanks