demo: still show elapsed time when aborting

This commit is contained in:
nick black 2020-02-23 05:06:26 -05:00
parent a88683fe3c
commit 58b67a56af
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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;
}