From f0a5e4d1b3cd460c0c7e3577198f40119cd6fd01 Mon Sep 17 00:00:00 2001 From: Axel Meyer Date: Tue, 12 May 2026 23:40:24 +0200 Subject: [PATCH] feat(P.3.4): ESC -> switch_module(launcher) per ADR-0028 --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index e44e372..ee4c1af 100644 --- a/init.lua +++ b/init.lua @@ -81,7 +81,10 @@ end function update(ctx, dt) if input.was_action_pressed("quit") then - engine.exit(0) + -- ADR-0028: ESC returns to launcher rather than exiting the app. + -- If launcher is not discoverable, P.3.2 lifecycle handles via fatal. + engine.switch_module("lib-sporel.launcher") + return end player.update(dt)