Skip to content

Commit 490e53a

Browse files
committed
mcp(fix[pane_tools]): Use pane.kill() instead of raw cmd
why: Raw pane.cmd("kill-pane") skips stderr checking and structured logging that Pane.kill() provides. what: - Replace pane.cmd("kill-pane") with pane.kill()
1 parent c7d75ff commit 490e53a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libtmux/mcp/tools/pane_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def kill_pane(
203203
window_id=window_id,
204204
)
205205
pid = pane.pane_id
206-
pane.cmd("kill-pane")
206+
pane.kill()
207207
return f"Pane killed: {pid}"
208208

209209

0 commit comments

Comments
 (0)