Skip to content

Feature Request: Word wrap max width setting #78

@chadbaldwin

Description

@chadbaldwin

Is your feature request related to a problem? Please describe

I'm frustrated that when tips with long descriptions are displayed in a terminal with a wide horizontal buffer, it is difficult to read them.

Describe the solution you'd like

An option to configure a max width setting for wrapping the output.

Describe alternatives you've considered

I've tried capturing the output of tips to see if I can apply the wrapping myself, but then you lose the format coloring and such. It would be nice if it were handled directly by the module.

Additional context

I use the default PowerShell terminal, and I prefer to set the horizontal buffer to something very high like 3,000. This, in my opinion/experience, makes it significantly easier to work with most tools. Unfortunately for tiPS, this means long descriptions are displayed as a single line and having to scroll to read it.

I think it would be really nice if there were some way to set a maximum width that would force the tip to be word wrapped up to that point. That way I can maintain my preferred terminal settings while also using the tiPS module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions