libsmartcols: add title to the test application

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2016-01-22 13:50:02 +01:00
parent 6f2737964d
commit fd5cbf57e0
1 changed files with 2 additions and 0 deletions

View File

@ -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)