MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / killWindow

Function killWindow

dev/local/tmux.ts:293–295  ·  view source on GitHub ↗
(sessionName: string, windowTarget: string | number)

Source from the content-addressed store, hash-verified

291 mainPaneWidth: number
292): void {
293 const target = `${sessionName}:${windowTarget}`;
294 execSync(`tmux set-window-option -t ${target} main-pane-width ${mainPaneWidth}`, {
295 stdio: 'ignore',
296 });
297 execSync(`tmux select-layout -t ${target} main-vertical`, { stdio: 'ignore' });
298 // Force pane 0 back to the fixed width on resize and on terminal tab switch

Callers 1

stopServiceInTmuxFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected