Skip to main content

ctrl_key

Function ctrl_key 

Source
pub const fn ctrl_key(b: u8) -> u8
Expand description

Converts a letter byte into the byte for that Control key.

eg: ctrl_key(b’c’) -> 3_u8