[][src]Function sunrise_keyboard::ps2::read_key

pub fn read_key() -> char

Waits for a single key press, and return its unicode representation.

Key presses are bufferized: if nobody is calling read_key when the user presses a key, it will be kept in a buffer until read_key is called.