kkawakam / rustyline

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

Support CSI-u escape sequences #699

Open dustletter opened 1 year ago

dustletter commented 1 year ago

The format is documented here: https://sw.kovidgoyal.net/kitty/keyboard-protocol/

I'm interested in detecting key combinations, like Ctrl+Enter, that can't be represented on legacy Unix terminals, and this seems to be the way to do that.