mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
The viewer is now one window with a tab per session. Opening a session (Open..., recents, the recorder window's buttons, `view SESSION...`) follows one rule: focus the tab that has it, else load into the current start-screen or failed tab, else add a tab. Only the tab in view plays; closing a tab cancels its scan and stops its playback. Keys: Cmd/Ctrl T, W, 1-9, Ctrl+Tab (and Cmd+Shift+[ ] on a Mac). `view` and the recorder window hand sessions to a running viewer over a local socket (komorebi-recorder-viewer.sock in the data dir, one JSON line each way) and only start a process when none answers; `view --new-window` opts out. The socket uses komorebi_link's cfg pattern (std unix sockets, or uds_windows on Windows). The unix/macOS branches could not be compiled here, only the Windows one.