Skip to content

settables: calculate the maximum width of the "Value" column #1417

Description

@gjvc

When printing the table of settables, the "Value" column is limited to 30 characters, and the "Description" column to 60.

Calculate the maximum value of the "Value" column and use that value as the width, using the length of the title "Value" as a lower bound.

For the "Description" column, keep the current behaviour, though it really doesn't require a limit at the moment, being the rightmost column.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions