Skip to content

Commit bc95161

Browse files
authored
docs(Pane): Fix docstring ordering in pane.split_window (#528)
* docs: Fix docstring ordering of vertical and start_directory in pane.split_window * docs: Add environment docstring to pane.split_window
1 parent f384ee9 commit bc95161

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libtmux/pane.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,12 +500,14 @@ def split_window(
500500
----------
501501
attach : bool, optional
502502
Attach / select pane after creation.
503-
vertical : bool, optional
504-
split vertically
505503
start_directory : str, optional
506504
specifies the working directory in which the new pane is created.
505+
vertical : bool, optional
506+
split vertically
507507
percent: int, optional
508508
percentage to occupy with respect to current pane
509+
environment: dict, optional
510+
Environmental variables for new pane. tmux 3.0+ only. Passthrough to ``-e``.
509511
510512
Notes
511513
-----

0 commit comments

Comments
 (0)