https://github.com/dpc/async-readline
Asynchronous readline-like interface (PoC ATM)
https://github.com/dpc/async-readline
Last synced: 8 months ago
JSON representation
Asynchronous readline-like interface (PoC ATM)
- Host: GitHub
- URL: https://github.com/dpc/async-readline
- Owner: dpc
- License: mpl-2.0
- Created: 2016-12-12T04:56:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-12T10:19:37.000Z (over 9 years ago)
- Last Synced: 2025-01-09T23:37:55.614Z (over 1 year ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 78
- Watchers: 4
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MPL2
Awesome Lists containing this project
README
# async-readline
Asynchronous readline-like interface.
This is a PoC library implementing a CLI interface that supports asynchronous
command editing and terminal output. In other words: user can keep editing the input
while the terminal output can be added at the same time.
Everything is asynchronous and reactive to stdio. No additional threads are involved.
It's implemented in Rust, and on top of Rust's futures and tokio library.
## Run the demo example:
```
cargo run --example readline
```
And you should see something like this:
