As I test in latest installation of ora, pressing enter creates a new line and duplicates a progress line, which gives impression that discard of stdin is not effective.
As I investigated it stopped working after #163 was taken.
Additional logical issues I've spotted in codebase:
ourEmit
looks as dead code. this function seem to be never used (do I miss something?)SINGINT
handling condition seems logically incorrect, however it's not an issue, as ora
loading signal-exit
(through its dependencies) ensures there's always some listener to SIGINT
event attached. Nonetheless condition should start with if (process.listenerCount('SIGINT')) {
and not if (process.listenerCount('SIGINT') === 0) {
I'm not proposing a PR, as I'm not sure how conversion to bl
should be handled (whether implementation should stick to it, but fix its setup, or revert to mute-stream
where it worked)
/cc @aminya @stroncium
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too