MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isTmuxControlMode

Function isTmuxControlMode

src/utils/fullscreen.ts:97–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

isFullscreenEnvEnabledFunction · 0.85
maybeGetTmuxMouseHintFunction · 0.85

Calls 1

probeTmuxControlModeSyncFunction · 0.85

Tested by

no test coverage detected