Expand description
A Cross Platform Read Implementation
This module provides cross-platform functionality for reading keyboard input, allowing your console application to handle various key events uniformly.
Modules§
- unix
- Contains Unix-specific implementation details for reading keyboard
input. It uses the
libc
crate to manipulate terminal attributes.
Enums§
- Key
- Represents different keyboard keys that can be captured by the
read_key
function.
Functions§
- read_
key - Reads a single key event from the console input and returns a
Key
enum.