//! Tells you when you press enter
//!//! Run with:
//!//! ```bash
//! cargo run --example enter
//! ```
//!//! Press enter and watch the console. Press Ctrl+C to quit.
usekeyboard::Key;fnmain(){println!("PRESS ENTER \n\n");loop{ifKey::Enter.is_pressed(){println!("You pressed enter");break;}}}