summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/libsmartcols.sym
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/src/libsmartcols.sym
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/src/libsmartcols.sym')
-rw-r--r--libsmartcols/src/libsmartcols.sym5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.sym b/libsmartcols/src/libsmartcols.sym
index 862262c8c..9a4997dd8 100644
--- a/libsmartcols/src/libsmartcols.sym
+++ b/libsmartcols/src/libsmartcols.sym
@@ -136,3 +136,8 @@ global:
scols_table_print_range_to_string;
scols_table_enable_nolinesep;
} SMARTCOLS_2.27;
+
+SMARTCOLS_2.29 {
+global:
+ scols_column_is_wrapnl;
+} SMARTCOLS_2.28;