Open ritiek opened 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.
Key::Char('q')
Key::Ctrl('[')
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?
I replaced the quit key from
Key::Char('q')
toKey::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?