It looks cool but a web demo + a bit more explanation could help.
Edit: Here's a screen recording! https://youtu.be/4bbClPPAkQI
* It uses the readline module to write characters to the terminal. That can also be patched.
I could patch it but the intended use case is in the terminal so I'm not super motivated to make that change myself. Feel free to fork it, though.