]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: support multi-line cells based on line breaks
authorKarel Zak <kzak@redhat.com>
Tue, 6 Sep 2016 08:51:25 +0000 (10:51 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Sep 2016 08:51:25 +0000 (10:51 +0200)
commitff471d89a12eef331de8e66c33cd9a2c0e23984e
tree9f2e92f090eb3c6b9ef442abbdd74a75a7776a0d
parenta55d646bd3986937cd3a8488b6abaf74b2b9e28a
libsmartcols: support multi-line cells based on line breaks

Now libsmartcols completely control when and how wrap long
lines/cells. This is sometimes user unfriendly and it would be nice to
support multi-line cells where wrap is based on \n (new line char).

This patch add new column flag SCOLS_FL_WRAPNL.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/mbsalign.h
lib/mbsalign.c
libsmartcols/docs/libsmartcols-sections.txt
libsmartcols/samples/Makemodule.am
libsmartcols/src/column.c
libsmartcols/src/libsmartcols.h.in
libsmartcols/src/libsmartcols.sym
libsmartcols/src/table_print.c