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

Function isTmuxAvailable

src/utils/worktree.ts:653–656  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

651}
652
653export async function isTmuxAvailable(): Promise<boolean> {
654 const { code } = await execFileNoThrow('tmux', ['-V'])
655 return code === 0
656}
657
658export function getTmuxInstallInstructions(): string {
659 const platform = getPlatform()

Callers 2

runFunction · 0.50
handleSpawnSplitPaneFunction · 0.50

Calls 1

execFileNoThrowFunction · 0.85

Tested by

no test coverage detected