-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display formatting not correct when used on PowerShell #178
Comments
Are you able to change the following line: Line 490 in d872269
to be: colorama.init(strip=options.color, convert=True) and see if that fixes the problem? |
Alternatively, we may need to adjust it so that we do a |
Thanks, but I tried to modify the init-function and delete the local cache, but same issue again. 😂
|
Until this is fixed, I came up with a little workaround that'll work on all consoles. filter tldr {[String]::Join([Environment]::NewLine,( python -m tldr $Args ))} You can also pipe to Write-Output for the same effect, but I felt it best to not involve a pipeline. Question though, does tldr --help print out formatted text on Linux, like the npm version does? Or is this just something that was done for the Python client in general? |
Hello,
Problem
When I use TLDR on PowerShell, the output formatting is not correct, it looks like
![image](https://user-images.githubusercontent.com/19495916/142961754-b30b2be1-f424-4ad7-8f00-6354960338e7.png)
Environment
PowerShell version 7.2.0
TLDR is installed via
conda install tldr
Others
TLDR works well on git-bash with the same installation and system
How could I fix it? Thank you all
The text was updated successfully, but these errors were encountered: