Skip to content

Some columns get larger when width is too small. #68

@jonmeredith

Description

@jonmeredith

If terminal width is too small the some columns are made wider than normal.
Perhaps we should break into multiple outputs if insufficient width.

ubuntu@riak105:~$ sudo riak-admin handoff details
Type Key: O = Ownership, H = Hinted, Rz = Resize, Rp = Repair
+-------------+--+-------+----+---------------+---------------++
|    Type     |So|Target:|Size|  Rate (KB/s)  |       %       ||
+-------------+--+-------+----+---------------+---------------++
|      O      |ri|riak@ri|611.|    608.96     |    329.16     ||
|      O      |ri|riak@ri|686.|    603.99     |    287.46     ||
+-------------+--+-------+----+---------------+---------------++
ubuntu@riak105:~$ 
ubuntu@riak105:~$ sudo riak-admin handoff details
Type Key: O = Ownership, H = Hinted, Rz = Resize, Rp = Repair
+----+-------------------+-------------------+--------+-----------+------+------------------+
|Type|     Source:ID     |     Target:ID     |  Size  |Rate (KB/s)|  %   |      Sender      |
+----+-------------------+-------------------+--------+-----------+------+------------------+
| O  |[email protected]:17|[email protected]:17|661.3 MB|  910.14   | 16.11|<25397.31465.1017>|
| O  |[email protected]:42|[email protected]:42|704.4 MB|  846.67   | 22.39|<25398.4560.1436> |
+----+-------------------+-------------------+--------+-----------+------+------------------+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions