]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: set minimal column width to 1
authorKarel Zak <kzak@redhat.com>
Thu, 15 Feb 2018 10:58:41 +0000 (11:58 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 15 Feb 2018 11:20:17 +0000 (12:20 +0100)
commit0f9f927b6f62cb7f488fadfad76c4a5defdefe36
tree7502634014ac13cdf94f608b88ed380759e08f98
parent19b10b89789943db23131db6eab40706eb915dcc
libsmartcols: set minimal column width to 1

The default is to use header width or relative width setting as the
minimal column width. The problem are columns where is no header or
relative width. Let's set minimal width to 1 in this case.

Addresses: https://github.com/karelzak/util-linux/pull/577
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table_print.c