summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/table_print.c
diff options
context:
space:
mode:
authorIgor Gnatenko2016-01-21 17:37:21 +0100
committerIgor Gnatenko2016-01-21 17:37:21 +0100
commit2f62d9fe3ed3c03fc9d2b57b0559ff5c8359b294 (patch)
tree9dabd08e4db8f9bfebdc9edce3b81bc7a47e7025 /libsmartcols/src/table_print.c
parentlibsmartcols: fix title aligning to center (diff)
downloadkernel-qcow2-util-linux-2f62d9fe3ed3c03fc9d2b57b0559ff5c8359b294.tar.gz
kernel-qcow2-util-linux-2f62d9fe3ed3c03fc9d2b57b0559ff5c8359b294.tar.xz
kernel-qcow2-util-linux-2f62d9fe3ed3c03fc9d2b57b0559ff5c8359b294.zip
libsmartcols: put new line after title
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'libsmartcols/src/table_print.c')
-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)