basho / clique

CLI Framework for Erlang
Apache License 2.0
147 stars 49 forks source link

Simplify column shrinking in clique [JIRA: RIAK-1521] #52

Closed Basho-JIRA closed 9 years ago

Basho-JIRA commented 9 years ago

The current logic for handling terminals that aren't wide enough for the specified table is complex and buggy. Andrew Thompson attempted to fix one bug with https://github.com/basho/clique/pull/49 but that patch results in a more serious bug.

Creating a branch with a new approach to proportionally shrink columns. Should be easier to follow/debug.

https://github.com/basho/clique/tree/jrd/proportional-shrink is the work in progress.

[Created in JIRA by John Daily]

Basho-JIRA commented 9 years ago

Code seems correct now, but need to work on organization/naming to make it more readable, plus some specs and function comments.

_[posted via JIRA by John Daily]_

Basho-JIRA commented 9 years ago

PR filed: https://github.com/basho/clique/pull/54

_[posted via JIRA by John Daily]_