stats: count up sprixel elisions/emissions #1566

pull/1573/head
nick black 3 years ago
parent 6c7b40debf
commit ac72c982d7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -888,7 +888,9 @@ clean_sprixels(notcurses* nc, const ncpile* p, FILE* out){
nc->rstate.hardcursorpos = true;
parent = &s->next;
}
++nc->stats.sprixelemissions;
}else{
++nc->stats.sprixelelisions;
parent = &s->next;
}
}

@ -187,7 +187,7 @@ void summarize_stats(notcurses* nc){
totalbuf, minbuf, avgbuf, maxbuf);
}
if(stats->renders || stats->failed_renders){
fprintf(stderr, "%ju failed render%s, %ju failed rasters%s, %ju refresh%s\n",
fprintf(stderr, "%ju failed render%s, %ju failed raster%s, %ju refresh%s\n",
stats->failed_renders,
stats->failed_renders == 1 ? "" : "s",
stats->failed_writeouts,

Loading…
Cancel
Save