mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 13:29:44 +02:00
In a desktop app an accidental page reload destroys in-memory state (tabs, drafts, WS connections) with no URL bar to navigate back. Add a before-input-event listener on the main BrowserWindow that intercepts Cmd+R / Ctrl+R (with or without Shift) and F5, calling preventDefault() to block the reload. DevTools refresh still works.