rustbox icon indicating copy to clipboard operation
rustbox copied to clipboard

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

Open ritiek opened this issue 8 years ago • 0 comments

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?

ritiek avatar Nov 14 '17 05:11 ritiek