tealdeer-rs / tealdeer

A very fast implementation of tldr in Rust.
https://tealdeer-rs.github.io/tealdeer/
Apache License 2.0
4.17k stars 123 forks source link

Colored output does not work with fzf #211

Closed drewauff closed 2 years ago

drewauff commented 3 years ago

When piping tldr --list through fzf the colours are stripped even when use the the --ansi flag with fzf?

How can I fix this?

dbrgn commented 3 years ago

Can you try tldr --color always? By default --color auto is used, which disables colors when the output is sent to a pipe.

drewauff commented 2 years ago

Found that out just after posting, probably should have read the documentation more carefully..

Appreciate the response

Thank You 👍🏽