From 78595399a125f77bc4364500474883757655a81f Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 23 Feb 2020 06:00:09 -0500 Subject: [PATCH] demo: properly color vertbar in summary line --- src/demo/demo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demo/demo.c b/src/demo/demo.c index 2daec2471..78f38b719 100644 --- a/src/demo/demo.c +++ b/src/demo/demo.c @@ -353,7 +353,8 @@ summary_table(struct ncdirect* nc, const char* spec){ bprefix(totalbytes, 1, totalbuf, 0); qprefix(totalrenderns, GIG, rtimebuf, 0); table_segment(nc, "", "══╧═════════╪════════╪═══════╪═════════╪═════════╪═══╪═══════╪═══════╝\n"); - table_printf(nc, "│", " │%*ss", PREFIXSTRLEN, timebuf); + printf(" │"); + table_printf(nc, "│", "%*ss", PREFIXSTRLEN, timebuf); table_printf(nc, "│", "%7lu", totalframes); table_printf(nc, "│", "%*s", BPREFIXSTRLEN, totalbuf); table_printf(nc, "│", " %*ss", PREFIXSTRLEN, rtimebuf);