notcurses_getc: don't count nonblocking exit as input_error for stats

pull/1968/head
nick black 3 years ago
parent 8d46a0bd17
commit f79e41294c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -578,8 +578,6 @@ uint32_t notcurses_getc(notcurses* nc, const struct timespec *ts,
ni->seqnum = stamp;
}
++nc->stats.s.input_events;
}else{
++nc->stats.s.input_errors; // increments on natural EOF, hrmm
}
return r;
}

Loading…
Cancel
Save