MCPcopy Create free account
hub / github.com/Noumena-Network/code / isTmuxControlMode

Function isTmuxControlMode

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

Source from the content-addressed store, hash-verified

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

Callers 2

isFullscreenEnvEnabledFunction · 0.85
maybeGetTmuxMouseHintFunction · 0.85

Calls 1

probeTmuxControlModeSyncFunction · 0.85

Tested by

no test coverage detected