diff options
-rw-r--r-- | examples/fullscreen.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs index aecfe62..92d32a3 100644 --- a/examples/fullscreen.rs +++ b/examples/fullscreen.rs @@ -50,6 +50,7 @@ fn main() { match event { glutin::Event::Closed => break, + glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) => break, _ => () } } |