Commit 96fed9f
committed
mcp(docs[lifecycle]): mark respawn argv shape as stopgap
Hand-rolled ``pane.cmd("respawn-pane", *argv)`` exists because
``libtmux>=0.55.1`` ships no ``Pane.respawn()`` yet — the wrapper
lives on libtmux's ``tmux-parity`` branch and uses the same flag
ordering this code mirrors (``-k``, ``-c``, optional trailing shell).
The inline note tells future-you that the swap, when ``Pane.respawn``
lands on the release line, is a few lines: drop the argv builder, call
``pane.respawn(kill=, start_directory=, shell=)``, drop the stderr
branch (``Pane.respawn`` raises ``LibTmuxException``). Without the
comment a reader would assume oversight.1 parent efb7bcb commit 96fed9f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
| |||
0 commit comments