Commit 81ea8b2
committed
Window(fix[split]): forward percentage parameter to Pane.split
why: Pane.split() gained a percentage parameter for the -p flag but
Window.split() which delegates to it neither accepts nor forwards it.
what:
- Add percentage parameter to Window.split() signature
- Forward percentage to active_pane.split()
- Fix size docstring to say "Cell/row count" (not "or percentage")1 parent 07627b8 commit 81ea8b2
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
306 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
307 | 313 | | |
308 | 314 | | |
309 | 315 | | |
| |||
322 | 328 | | |
323 | 329 | | |
324 | 330 | | |
| 331 | + | |
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
| |||
0 commit comments