Events. Quit on mouse move or press like a screensaver

This commit is contained in:
nothke
2024-06-16 14:50:36 +02:00
parent 1c49ffa07f
commit fc91b57f33
2 changed files with 21 additions and 2 deletions

View File

@@ -15,6 +15,9 @@ pub fn build(b: *std.Build) void {
exe.root_module.addImport("sokol", dep_sokol.module("sokol"));
// Set this to hide console
//exe.subsystem = .Windows;
b.installArtifact(exe);
const run_cmd = b.addRunArtifact(exe);