Skip to main content

block_key

Function block_key 

Source
pub fn block_key(key: KeyCode)
Expand description

Application will block this key and swallow it before the rest of the OS can use it. Useful for global keyboard shortcuts. (May not work on all operating systems.)