From 58b67a56af7186eac81e5318dd6790fb5158a2bb Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 23 Feb 2020 05:06:26 -0500 Subject: [PATCH] demo: still show elapsed time when aborting --- src/demo/demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/demo.c b/src/demo/demo.c index 1984b9029..624e29755 100644 --- a/src/demo/demo.c +++ b/src/demo/demo.c @@ -166,10 +166,10 @@ ext_demos(struct notcurses* nc, const char* spec, bool ignore_failures){ results[i].timens = nowns - prevns; prevns = nowns; results[i].result = ret; + hud_completion_notify(&results[i]); if(ret && !ignore_failures){ break; } - hud_completion_notify(&results[i]); } return results; }