summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/smartcolsP.h
diff options
context:
space:
mode:
authorKarel Zak2014-03-19 17:20:57 +0100
committerKarel Zak2014-04-03 12:29:16 +0200
commite906be066ec378843e81a22ad49e92c3e412b928 (patch)
treebb7c2384daf5bbc82c6cc58dd178b0e2fdb46a4e /libsmartcols/src/smartcolsP.h
parentlibsmartcols: add SCOLS_FL_MAX (diff)
downloadkernel-qcow2-util-linux-e906be066ec378843e81a22ad49e92c3e412b928.tar.gz
kernel-qcow2-util-linux-e906be066ec378843e81a22ad49e92c3e412b928.tar.xz
kernel-qcow2-util-linux-e906be066ec378843e81a22ad49e92c3e412b928.zip
libsmartcols: add reduce term width functionality
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/smartcolsP.h')
-rw-r--r--libsmartcols/src/smartcolsP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h
index d8cf2ee56..d7211438e 100644
--- a/libsmartcols/src/smartcolsP.h
+++ b/libsmartcols/src/smartcolsP.h
@@ -104,6 +104,7 @@ struct libscols_table {
size_t ncols; /* number of columns */
size_t nlines; /* number of lines */
size_t termwidth; /* terminal width */
+ size_t termreduce; /* extra blank space */
int is_term; /* is a tty? */
int flags;
int first_run;