Function mki::remove_any_key_bind
source · [−]pub fn remove_any_key_bind()
Expand description
Removes global key handler.
use mki::*;
fn remove_global_handler() {
bind_any_key(Action::handle_kb(|(key)| println!("Some key pressed: {:?}", key)));
remove_any_key_bind();
}