ALT-SPACE hotkey fixed.

This commit is contained in:
Scott Duensing 2026-03-18 00:38:40 -05:00
parent 69865a54f6
commit 1e4951c4cb

View file

@ -2853,8 +2853,8 @@ static void pollKeyboard(AppContextT *ctx) {
} }
// Alt+Space — open/close system menu // Alt+Space — open/close system menu
// Enhanced INT 16h: Alt+Space returns scancode 0x02, ascii 0x20 // Enhanced INT 16h: Alt+Space returns scancode 0x39, ascii 0x20
if (scancode == 0x02 && ascii == 0x20) { if (scancode == 0x39 && ascii == 0x20) {
if (ctx->sysMenu.active) { if (ctx->sysMenu.active) {
closeSysMenu(ctx); closeSysMenu(ctx);
} else if (ctx->stack.focusedIdx >= 0) { } else if (ctx->stack.focusedIdx >= 0) {