A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 0cda409..53e27a4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -435,7 +435,12 @@ pub(crate) fn entry(event_loop: EventLoop<()>) {
window.request_redraw();
}
Event::WindowEvent {
- event: WindowEvent::KeyboardInput { event, is_synthetic: false, .. },
+ event:
+ WindowEvent::KeyboardInput {
+ event,
+ is_synthetic: false,
+ ..
+ },
..
} if event.state == ElementState::Pressed => {
if matches!(