libsmartcols: add title to the test application
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
6f2737964d
commit
fd5cbf57e0
|
@ -212,6 +212,8 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
scols_table_enable_colors(tb, 1);
|
||||
scols_table_set_title(tb, "This is table title", SCOLS_TITLE_CENTER, "red");
|
||||
|
||||
setup_columns(tb, notree);
|
||||
|
||||
while (optind < argc)
|
||||
|
|
Loading…
Reference in New Issue