Function
killWindow
(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 |
Tested by
no test coverage detected