Mo presented the crate crossterm for building low-level terminal applications. For high-level terminal user interfaces, Ratatui is recommended.
crossterm
The example was the small Snake game (code).