()
| 96 | * Lazily probes tmux on first call when the env heuristic can't decide. |
| 97 | */ |
| 98 | export function isTmuxControlMode(): boolean { |
| 99 | if (tmuxControlModeProbed === undefined) probeTmuxControlModeSync() |
| 100 | return tmuxControlModeProbed ?? false |
| 101 | } |
| 102 | |
| 103 | export function _resetTmuxControlModeProbeForTesting(): void { |
| 104 | tmuxControlModeProbed = undefined |
no test coverage detected