How can I use Panel.fit
(from rich) instead of the Panel
default in both the help message and Typer App argument errors?
#607
Unanswered
Apocryphon-X
asked this question in
Questions
Replies: 3 comments
-
What a good suggestion! I agree that the error message looks much better with |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'd also like this very much, see #680 Setting See: However, setting |
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
I want to use
Panel.fit
instead of thePanel
default on help messages and argument error messages.Default behaviour:
Example of the behaviour I want to achieve:
P.D: To obtain the second image i used the following code:
However, this only affects error panels and the help message remains the same. How can I do this for both types of messages?
Operating System
Linux
Operating System Details
No response
Typer Version
0.9.0
Python Version
Python 3.11.3
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions