Skip to content

Layout broken when title is too long #16

Description

@vaucn

screen shot 2016-07-01 at 3 00 26 pm
I tried the style option like:

Terminal::Table.new headings: ['Owner', 'Title', 'Question', 'Accepted Answer'], rows: question_rows, style: {width: 80}

but it not work! Maybe we can give the title a max length.

question_rows << [owner['display_name'], q['title'][0..110], ...

screen shot 2016-07-01 at 3 25 36 pm
What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions