-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Consider this example based on that in #2,
from typing import Annotated
import yapx
def say_hello(
name: Annotated[
str, yapx.arg(help="Who or what to greet?", metavar="NAME")
] = "World",
):
print(f"Hello {name}")
yapx.run(say_hello)The output is fine if the terminal is at least 80 characters wide. However, it does not check and the horizontal lines wrap on a narrower terminal:
Testing with yapx 0.5.3 on macOS with Python 3.12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working