demo: still show elapsed time when aborting

pull/384/head
nick black 5 years ago
parent a88683fe3c
commit 58b67a56af
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

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

Loading…
Cancel
Save