Async != threads. readInput() will block regardless. You will need to use 
kbhit() equivalent code.

I did something similar in my CLI editor. Check it out, hope it helps.

[https://github.com/genotrance/snip](https://github.com/genotrance/snip)

Reply via email to