]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: put new line after title
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>
Thu, 21 Jan 2016 16:37:21 +0000 (17:37 +0100)
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>
Thu, 21 Jan 2016 16:37:21 +0000 (17:37 +0100)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
libsmartcols/src/table_print.c

index fcf8270758a205428986725069dbfc472655412a..c2794c998e229b11000d3c00a9bb77d396693d3a 100644 (file)
@@ -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)