From 98159927b70fcf2ba75b1c1f52f59929bc9a9345 Mon Sep 17 00:00:00 2001 From: MrPiglr Date: Thu, 12 Feb 2026 15:37:45 -0700 Subject: [PATCH] fix(os): add Enter key support on boot screen - Add handleBootKeyPress to handle keyboard input during boot - Attach onKeyDown handler to both mobile and desktop boot screens - Add tabIndex={0} to make boot screens focusable - Pressing Enter now triggers handleGuestContinue to enter system Fixes: Enter key does nothing on boot screen --- client/src/pages/os.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/client/src/pages/os.tsx b/client/src/pages/os.tsx index 917baf2..8e22018 100644 --- a/client/src/pages/os.tsx +++ b/client/src/pages/os.tsx @@ -927,6 +927,12 @@ export default function AeThexOS() { setTimeout(() => setShowDailyTip(true), 1000); }; + const handleBootKeyPress = (e: React.KeyboardEvent) => { + if (e.key === 'Enter' && showLoginPrompt) { + handleGuestContinue(); + } + }; + const handleLoginFromBoot = () => { setShowLoginPrompt(false); setIsBooting(false); @@ -974,7 +980,11 @@ export default function AeThexOS() { }; return ( -
+
{/* Animated background grid */}
+
{/* Scan lines overlay */}