summaryrefslogtreecommitdiff
path: root/libsmartcols
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2016-01-22 13:50:02 +0100
committerKarel Zak <kzak@redhat.com>2016-01-22 13:50:02 +0100
commitfd5cbf57e05bcee92f2df0a40a64e23cecdcce51 (patch)
treea331f66db3ddf62754dc27d04cbf68e8ff6906d2 /libsmartcols
parent6f2737964d57b55994ff59237903737dde7e8bdd (diff)
downloadutil-linux-fd5cbf57e05bcee92f2df0a40a64e23cecdcce51.tar.gz
libsmartcols: add title to the test application
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/src/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmartcols/src/test.c b/libsmartcols/src/test.c
index 5b2cc6433..f520d4c1c 100644
--- a/libsmartcols/src/test.c
+++ b/libsmartcols/src/test.c
@@ -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)