summaryrefslogtreecommitdiff
path: root/libsmartcols
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-01-21 17:37:21 +0100
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-01-21 17:37:21 +0100
commit2f62d9fe3ed3c03fc9d2b57b0559ff5c8359b294 (patch)
tree9dabd08e4db8f9bfebdc9edce3b81bc7a47e7025 /libsmartcols
parent7bc451694fdea21469e2c45e89bc0e1d30ad6212 (diff)
downloadutil-linux-2f62d9fe3ed3c03fc9d2b57b0559ff5c8359b294.tar.gz
libsmartcols: put new line after title
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/src/table_print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmartcols/src/table_print.c b/libsmartcols/src/table_print.c
index fcf827075..c2794c998 100644
--- a/libsmartcols/src/table_print.c
+++ b/libsmartcols/src/table_print.c
@@ -595,6 +595,8 @@ static void print_title(struct libscols_table *tb)
if (tb->title_color)
fputs(UL_COLOR_RESET, tb->out);
+
+ fputc('\n', tb->out);
}
static int print_header(struct libscols_table *tb, struct libscols_buffer *buf)