From df0c0f346d8541d4ab109276a4fcb81e7d52a109 Mon Sep 17 00:00:00 2001 From: alexia Date: Tue, 21 Feb 2023 02:45:01 +0100 Subject: [PATCH] dfuhelper: make current step bold (#21) --- src/dfuhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dfuhelper.c b/src/dfuhelper.c index a40d058..8192da0 100644 --- a/src/dfuhelper.c +++ b/src/dfuhelper.c @@ -36,7 +36,7 @@ int dfuhelper_thr_running = false; void step(int time, int time2, char *text, bool (*cond)(uint64_t), uint64_t cond_arg) { for (int i = time2; i < time; i++) { - printf(CYN "\r\033[K%s (%d)" CRESET, text, time - i + time2); + printf(BCYN "\r\033[K%s (%d)" CRESET, text, time - i + time2); fflush(stdout); sleep(1); if (cond != NULL && cond(cond_arg)) pthread_exit(NULL);