()
| 93 | } |
| 94 | |
| 95 | fn pause() { |
| 96 | let mut stdin = io::stdin(); |
| 97 | let mut stdout = io::stdout(); |
| 98 | |
| 99 | println!("Press any key to continue..."); |
| 100 | stdout.flush().unwrap(); |
| 101 | |
| 102 | // Read a single byte and discard |
| 103 | let _ = stdin.read(&mut [0u8]).unwrap(); |
| 104 | } |
| 105 | |
| 106 | #[derive(Tabled, Debug)] |
| 107 | pub struct MemoryRange { |