diff options
author | Ondrej Oprala | 2014-03-24 16:44:33 +0100 |
---|---|---|
committer | Karel Zak | 2014-04-03 12:29:17 +0200 |
commit | 8b992cb5719e7632dd8bc904cb5bfb3720207739 (patch) | |
tree | 00d81f77373bdeac1394dec7a3f8dabbbf9cf923 /libsmartcols/src/smartcolsP.h | |
parent | libsmartcols: colors may now be specified as human-readable strings (diff) | |
download | kernel-qcow2-util-linux-8b992cb5719e7632dd8bc904cb5bfb3720207739.tar.gz kernel-qcow2-util-linux-8b992cb5719e7632dd8bc904cb5bfb3720207739.tar.xz kernel-qcow2-util-linux-8b992cb5719e7632dd8bc904cb5bfb3720207739.zip |
libsmartcols: revert the column flags API
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'libsmartcols/src/smartcolsP.h')
-rw-r--r-- | libsmartcols/src/smartcolsP.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h index be2b0cfbf..18ca22a14 100644 --- a/libsmartcols/src/smartcolsP.h +++ b/libsmartcols/src/smartcolsP.h @@ -67,17 +67,12 @@ struct libscols_column { size_t width_avg; /* average width, used to detect extreme fields */ double width_hint; /* hint (N < 1 is in percent of termwidth) */ + int flags; int is_extreme; char *color; /* default column color */ struct libscols_cell header; struct list_head cl_columns; - - unsigned int trunc :1; /* truncate fields data if necessary */ - unsigned int tree :1; /* use tree "ascii art" */ - unsigned int right :1; /* align to the right */ - unsigned int strict_width :1; /* don't reduce width if column is empty */ - unsigned int no_extremes :1; /* ignore extreme fields when count column width*/ }; /* |