Replies: 1 comment
-
@svlandeg hi! I saw that you fixed similar issues with new lines recently. could you pls take a look? |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Clickable link to the problematic code:
typer/typer/rich_utils.py
Lines 676 to 681 in 38d1873
Description
Actual output:
Expected output:
Operating System
macOS
Operating System Details
No response
Typer Version
0.15.3
Python Version
Python 3.9.17
Additional Context
I am not sure is it expected behavior, but from my side I do not expect double line break at the end of
--help
output because of provides epilogue.As I understand it,
_make_rich_text
usesText
whereend
is new line by default. And usingPadding
adds one more new line.So the possible fix is to change pad argument from
1
to(1, 1, 0, 1)
to disable bottom one:Beta Was this translation helpful? Give feedback.
All reactions