diff --git a/docs/mdbook/src/input.md b/docs/mdbook/src/input.md index 70c4fa1..2c645fa 100644 --- a/docs/mdbook/src/input.md +++ b/docs/mdbook/src/input.md @@ -94,7 +94,7 @@ As you see, we check if the `KeyEvent::Esc` was pressed, if that's true we stop _final code_ ```rust use std::{thread, time::Duration}; -use crossterm::{input, InputEvent, KeyEvent}; +use crossterm::{input, InputEvent, KeyEvent, RawScreen}; fn main() { println!("Press 'ESC' to quit.");