diff --git a/src/main.rs b/src/main.rs index e7a11a969..02dd96bfd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,9 @@ +use winit::event_loop::EventLoop; + fn main() { - println!("Hello, world!"); + let event_loop = EventLoop::new(); + + event_loop.run(move |event, _, _| { + println!("{:?}", event); + }) }