mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
demo: still show elapsed time when aborting
This commit is contained in:
parent
a88683fe3c
commit
58b67a56af
@ -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…
Reference in New Issue
Block a user