MCPcopy
hub / github.com/codeaashu/claude-code / killPane

Method killPane

src/utils/swarm/backends/TmuxBackend.ts:271–275  ·  view source on GitHub ↗

* Kills/closes a specific pane.

(paneId: PaneId, useExternalSession = false)

Source from the content-addressed store, hash-verified

269 * Kills/closes a specific pane.
270 */
271 async killPane(paneId: PaneId, useExternalSession = false): Promise<boolean> {
272 const runTmux = useExternalSession ? runTmuxInSwarm : runTmuxInUserSession
273 const result = await runTmux(['kill-pane', '-t', paneId])
274 return result.code === 0
275 }
276
277 /**
278 * Hides a pane by moving it to a detached hidden session.

Callers 6

killTeammateFunction · 0.45
spawnMethod · 0.45
killMethod · 0.45
useInboxPollerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected