summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/libsmartcols.h.in
diff options
context:
space:
mode:
authorKarel Zak2016-01-25 13:03:29 +0100
committerKarel Zak2016-01-25 13:03:29 +0100
commitd372bcf26e25ebe7a3264e01cbc328d3a81e7a12 (patch)
treeb8fdc85534f9e3e60b7d1ba9d2c2a6d359cc3cb0 /libsmartcols/src/libsmartcols.h.in
parentlibsmartcols: document v2.27 symbols (diff)
parentlibsmartcols: add scols_column_is_wrap to docs (diff)
downloadkernel-qcow2-util-linux-d372bcf26e25ebe7a3264e01cbc328d3a81e7a12.tar.gz
kernel-qcow2-util-linux-d372bcf26e25ebe7a3264e01cbc328d3a81e7a12.tar.xz
kernel-qcow2-util-linux-d372bcf26e25ebe7a3264e01cbc328d3a81e7a12.zip
Merge branch 'scols_fl_wrap' of https://github.com/ignatenkobrain/util-linux
* 'scols_fl_wrap' of https://github.com/ignatenkobrain/util-linux: libsmartcols: add scols_column_is_wrap to docs libsmartcols: don't loose colors when wrapping libsmartcols: wrap columns correctly with unicode libsmartcols: implement SCOLS_FL_WRAP
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r--libsmartcols/src/libsmartcols.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in
index 573a6ddca..9849a2cfb 100644
--- a/libsmartcols/src/libsmartcols.h.in
+++ b/libsmartcols/src/libsmartcols.h.in
@@ -84,6 +84,7 @@ enum {
SCOLS_FL_STRICTWIDTH = (1 << 3), /* don't reduce width if column is empty */
SCOLS_FL_NOEXTREMES = (1 << 4), /* ignore extreme fields when count column width*/
SCOLS_FL_HIDDEN = (1 << 5), /* maintain data, but don't print */
+ SCOLS_FL_WRAP = (1 << 6), /* wrap long cells across lines */
};
/*
@@ -139,6 +140,7 @@ extern int scols_column_is_right(struct libscols_column *cl);
extern int scols_column_is_strict_width(struct libscols_column *cl);
extern int scols_column_is_hidden(struct libscols_column *cl);
extern int scols_column_is_noextremes(struct libscols_column *cl);
+extern int scols_column_is_wrap(struct libscols_column *cl);
extern int scols_column_set_flags(struct libscols_column *cl, int flags);
extern int scols_column_get_flags(struct libscols_column *cl);