parent
308d413f09
commit
15dfb2867a
15 changed files with 21 additions and 21 deletions
|
|
@ -137,7 +137,7 @@ pub fn update(app: *App, core: *mach.Core) !void {
|
|||
switch (event) {
|
||||
.key_press => |ev| {
|
||||
if (ev.key == .space)
|
||||
core.setShouldClose(true);
|
||||
core.close();
|
||||
},
|
||||
else => {},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue