eric pouech (@epo) commented about programs/timeout/timeout_main.c:
- do
- {
ticks_remaining = end_ticks - GetTickCount64();
wait_millis = ticks_remaining;
if (wait_millis > 1000)
wait_millis = 1000;
printf("\r");
pad_number(padded_timeout, (int)roundf(ticks_remaining / 1000.), digits);
RPRINTF_VA(STRING_WAITING_FOR_SECONDS, padded_timeout);
if (!nobreak)
{
if (!printed_action_key)
I'd rather see this outside the do/while loop (and moreover, the second count down shall be printed after this message)