kkawakam / rustyline

Readline Implementation in Rust
https://crates.io/crates/rustyline/
MIT License
1.53k stars 176 forks source link

Read cursor position with cluttered input #786

Open gwenn opened 1 month ago

gwenn commented 1 month ago

Try to read cursor position even when stdin contains / receives user input. Currently, we fail so that we don't discard any user input. But we should be able to fill the BufReader instead...