(mode: 'same-dir' | 'worktree' | null)
| 482 | }, |
| 483 | |
| 484 | setSpawnModeDisplay(mode: 'same-dir' | 'worktree' | null): void { |
| 485 | if (spawnModeDisplay === mode) return |
| 486 | spawnModeDisplay = mode |
| 487 | // Also sync the #21118-added spawnMode so the next render shows correct |
| 488 | // mode hint + branch visibility. Don't render here — matches |
| 489 | // updateSessionCount: called before printBanner (initial setup) and |
| 490 | // again from the `w` handler (which follows with refreshDisplay). |
| 491 | if (mode) spawnMode = mode |
| 492 | }, |
| 493 | |
| 494 | addSession(sessionId: string, url: string): void { |
| 495 | sessionDisplayInfo.set(sessionId, { url }) |
nothing calls this directly
no outgoing calls
no test coverage detected