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