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

This commit is contained in:
nick black 2021-07-21 17:51:52 -04:00
parent 8d46a0bd17
commit f79e41294c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

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