From fd5cbf57e05bcee92f2df0a40a64e23cecdcce51 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 22 Jan 2016 13:50:02 +0100 Subject: [PATCH] libsmartcols: add title to the test application Signed-off-by: Karel Zak --- libsmartcols/src/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsmartcols/src/test.c b/libsmartcols/src/test.c index 5b2cc64336..f520d4c1c5 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) -- 2.47.3