Problem
On macOS, pressing Cmd+W closes the app completely instead of hiding the main window.
Expected
Cmd+W should hide the UI (keep the app running) and allow the user to reopen the window (e.g., via dock click or menu) with the session intact.
Steps to reproduce
- Open CodexMonitor on macOS.
- Press Cmd+W.
- App exits instead of hiding the window.
Notes
A typical macOS pattern is to keep the app running and just hide/close the window; reopening should restore the UI and reconnect state if needed.
Problem
On macOS, pressing Cmd+W closes the app completely instead of hiding the main window.
Expected
Cmd+W should hide the UI (keep the app running) and allow the user to reopen the window (e.g., via dock click or menu) with the session intact.
Steps to reproduce
Notes
A typical macOS pattern is to keep the app running and just hide/close the window; reopening should restore the UI and reconnect state if needed.