From: Karel Zak Date: Fri, 22 Jan 2016 12:50:02 +0000 (+0100) Subject: libsmartcols: add title to the test application X-Git-Tag: v2.28-rc1~171 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd5cbf57e05bcee92f2df0a40a64e23cecdcce51;p=thirdparty%2Futil-linux.git libsmartcols: add title to the test application Signed-off-by: Karel Zak --- 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)