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