mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
notcurses_getc: don't count nonblocking exit as input_error for stats
This commit is contained in:
parent
8d46a0bd17
commit
f79e41294c
@ -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…
Reference in New Issue
Block a user