Implemented engine return

This commit is contained in:
2026-01-30 14:19:24 +01:00
parent ccbbf29538
commit 2d79b1dfbb
7 changed files with 37 additions and 30 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ use std::sync::Arc;
use osui::prelude::*;
pub fn main() {
let console = Console::new();
console.run(app);
let engine = Console::new();
engine.run(app).expect("Failed to run engine");
}
fn app(cx: &Arc<Context>) -> View {