]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: support multi-line cells
authorKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2016 14:25:38 +0000 (15:25 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2016 14:34:21 +0000 (15:34 +0100)
commitd94c519877278124691be5ea3c8dbc729c1962e5
tree3f9e598d652051a2f9bc29d3eb49e1deb096f87f
parente865838d6ddcb0fed74e3819b503c6f7ccad452b
libsmartcols: support multi-line cells

The initial implementation has been introduced by SCOLS_FL_WRAP columns,
but this patch clean ups all and makes things more elegant.

Note that use SCOLS_FL_TREE | SCOLS_FL_WRAP for a column is bad idea
and I don't think we need to fix it.

References: https://github.com/karelzak/util-linux/issues/269
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/mbsalign.c
libsmartcols/src/column.c
libsmartcols/src/libsmartcols.h.in
libsmartcols/src/smartcolsP.h
libsmartcols/src/table_print.c