I recently updated my code from tokio-0.2 to tokio-0.3.3. It mostly went fine but the program stops handling input events (though network events are still handled) after a few input events and I have no idea how to debug this. Can anyone give me some pointers?
The PR that updates tokio from 0.2 to 0.3.3 is here. The input handling code is ported to tokio-0.3.3 with 24 lines of change, in term_input/src/lib.rs. If you'd like to see the problem, run
cargo run --exaple chat in the directory
libtiny_tui. Make sure you're on branch
tokio-0.3.2 (note that the branch name says 0.3.2 but it actually updates to 0.3.3).
Any pointers would be appreciated. Thanks!