Replies: 1 comment
-
I submitted a PR #877 that at least should adress removing the tags from the output. If anyone wants to test the PR, I'd appreciate it! Just let me know which OS and shell you're on, and fill in the following boxes for your system:
A simple script you can use to double check whether your console supports Rich formatting, is the following:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
Create this script in
main.py
In Zsh, start running it with the
typer
command, start typing:typer main.py run
, then hit tab to trigger autocompletion, it shows the two commands, which is correct:goodbye
hello
But their Zsh help string includes the Rich markup content:
It should show plaintext without
[bold]
markup parts... or better, it should render those parts and show them in actual green color (using the terminal color codes, etc, the stuff Rich does).Operating System
Linux, macOS
Operating System Details
This applies mainly to Zsh, the behavior might be similar or different in PowerShell. It only applies in shells that can show autocompletion of commands with help sections.
Typer Version
Typer version: 0.12.3
Python Version
any
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions