Text-mode (terminal) application with asynchronous input/output

If you are using Tokio, I would recommend preferring Tokio's IO traits.

Note that the tokio-util crate has conversions between the two IO traits.

Hi, I have done exactly this in my own project. You can clone it and test it out for yourself (but it requires API keys for commands to be run). Basically, I just stack a list element and paragraph element together and use some backend trickery to make it all work. You can check it out here: GitHub - termcrypt/termcrypt: An efficient interface for trading markets :>

This may be useful for you to look at as an example of howto implement and input/output with tui in this manner.

Hey, author here. The latest release includes an upgraded crossterm.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.