MCPcopy Create free account
hub / github.com/codeaashu/claude-code / setPreferTmuxOverIterm2

Function setPreferTmuxOverIterm2

src/utils/swarm/backends/it2Setup.ts:229–238  ·  view source on GitHub ↗
(prefer: boolean)

Source from the content-addressed store, hash-verified

227 * This prevents showing the setup prompt when in iTerm2.
228 */
229export function setPreferTmuxOverIterm2(prefer: boolean): void {
230 const config = getGlobalConfig()
231 if (config.preferTmuxOverIterm2 !== prefer) {
232 saveGlobalConfig(current => ({
233 ...current,
234 preferTmuxOverIterm2: prefer,
235 }))
236 logForDebugging(`[it2Setup] Set preferTmuxOverIterm2 = ${prefer}`)
237 }
238}
239
240/**
241 * Checks if the user prefers tmux over iTerm2 split panes.

Callers 1

It2SetupPromptFunction · 0.85

Calls 3

getGlobalConfigFunction · 0.85
saveGlobalConfigFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected