Colors when piping output to less.
GasparVardanyan opened this issue · 0 comments
GasparVardanyan commented
First of all thank you for this cool project.
When I pipe output to less, I lose colors.
I do something like:
tldr ls | less -ru~ +gand get one-color (my terminal's fg) output.
less -ru~ +g is capable to draw colored/bold/etc texts.
For example, ls (exa) have an option --color=always and when I pipe it's output to less, I get the same colored output.
Please add an ability to have colors in less.
I use tldr 3.1.0-2.