mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
@@ -50,6 +50,7 @@ fn main() {
|
||||
|
||||
match event {
|
||||
glutin::Event::Closed => break,
|
||||
glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) => break,
|
||||
_ => ()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user