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; results[i].timens = nowns - prevns;
prevns = nowns; prevns = nowns;
results[i].result = ret; results[i].result = ret;
hud_completion_notify(&results[i]);
if(ret && !ignore_failures){ if(ret && !ignore_failures){
break; break;
} }
hud_completion_notify(&results[i]);
} }
return results; return results;
} }

Loading…
Cancel
Save