gchp / rustbox

Rust implementation of the termbox library
MIT License
469 stars 48 forks source link

Key::Ctrl('[') does not work #79

Open ritiek opened 7 years ago

ritiek commented 7 years ago

I replaced the quit key from Key::Char('q') to Key::Ctrl('[') in example.rs but it takes no effect when attempting to quit.

I haven't been able to reproduce this problem with any other combination so far.

EDIT: I took a look at the source and it seems like the currently working keys are https://github.com/gchp/rustbox/blob/1d42771b18412b55dfe1a89f5ba71be5392f27f0/src/keyboard.rs#L27-L83

Any reason other combinations aren't a part yet?