Skip to content

Bug: CLI should be terminal column aware and not cut off text #55

Description

@jpmcb

Describe the bug

If the terminal window is rather small, text gets cut off in strange and sad ways:

Screenshot 2023-10-16 at 4 28 55 PM

The text output should be column aware and print words to the next line if they will wrap around the terminal. This is somewhat related to #17 which has some of this already built in.

Steps to reproduce

  1. Make your terminal really skinny
  2. run pizza -h to invoke the help text
  3. notice how some of the text gets cut off

Browsers

No response

Additional context (Is this in dev or production?)

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions