From 82ffd54f09ad02550ff89d876055801534ffb498 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 5 Jan 2021 22:53:00 +0100 Subject: [PATCH] added 3 spaces to compensate when voltage goes to one digit --- client/src/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/ui.c b/client/src/ui.c index 327d266bf..f01b71009 100644 --- a/client/src/ui.c +++ b/client/src/ui.c @@ -710,12 +710,12 @@ void print_progress(size_t count, uint64_t max, barMode_t style) { break; } case STYLE_MIXED: { - sprintf(buffer, "%s [ %zu mV / %2u V / %2u Vmax ]", cbar, count, (uint32_t)(count / 1000), (uint32_t)(max / 1000)); + sprintf(buffer, "%s [ %zu mV / %2u V / %2u Vmax ] ", cbar, count, (uint32_t)(count / 1000), (uint32_t)(max / 1000)); printf("\b%c[2K\r[" _YELLOW_("=")"] %s ", 27, buffer); break; } case STYLE_VALUE: { - printf("[" _YELLOW_("=")"] %zu mV / %2u V / %2u Vmax\r", count, (uint32_t)(count / 1000), (uint32_t)(max / 1000)); + printf("[" _YELLOW_("=")"] %zu mV / %2u V / %2u Vmax \r", count, (uint32_t)(count / 1000), (uint32_t)(max / 1000)); break; } }