summaryrefslogtreecommitdiffstats
path: root/libsmartcols/docs
diff options
context:
space:
mode:
authorKarel Zak2016-09-06 10:51:25 +0200
committerKarel Zak2016-09-06 10:51:25 +0200
commitff471d89a12eef331de8e66c33cd9a2c0e23984e (patch)
tree9f2e92f090eb3c6b9ef442abbdd74a75a7776a0d /libsmartcols/docs
parentlib/randutils: add xsrand() and rand_get_number() (diff)
downloadkernel-qcow2-util-linux-ff471d89a12eef331de8e66c33cd9a2c0e23984e.tar.gz
kernel-qcow2-util-linux-ff471d89a12eef331de8e66c33cd9a2c0e23984e.tar.xz
kernel-qcow2-util-linux-ff471d89a12eef331de8e66c33cd9a2c0e23984e.zip
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>
Diffstat (limited to 'libsmartcols/docs')
-rw-r--r--libsmartcols/docs/libsmartcols-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsmartcols/docs/libsmartcols-sections.txt b/libsmartcols/docs/libsmartcols-sections.txt
index 75ff0eb2c..e752e7056 100644
--- a/libsmartcols/docs/libsmartcols-sections.txt
+++ b/libsmartcols/docs/libsmartcols-sections.txt
@@ -29,6 +29,7 @@ scols_column_is_strict_width
scols_column_is_tree
scols_column_is_trunc
scols_column_is_wrap
+scols_column_is_wrapnl
scols_column_set_cmpfunc
scols_column_set_color
scols_column_set_flags