experiments in a post-browser web

fix(esc): guard escUnhandledPolicy and escGlobalHandler against overlay exit cooldown master

After dismissing the windows-switcher overlay with ESC, the same ESC keystroke lands on the workspace window (escUnhandledPolicy) or the global shortcut handler (escGlobalHandler) before the cooldown window expires, causing the switcher to re-open in a tight loop. Both call sites now check isWithinOverlayExitCooldown() and skip the cmd:execute:windows publish when within 300ms of exitOverlay. Regression test: izui-state.test.ts test 11 verifies the coordinator signals the cooldown correctly so callers can gate the switcher open.


Author burrito.space Date Commit d72c1bc8 Parent 0e2b768a Change ID lxmtvtqo
+55
3 changed files