Skip to content

Commit b438c3b

Browse files
committed
add missing docstrings to Session.new_window
1 parent 8a3cff8 commit b438c3b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tmuxp/session.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ def new_window(self,
145145
:type start_directory: string
146146
:param attach: make new window the current window after creating it,
147147
default True.
148+
:param window_index: create the new window at the given index position.
149+
Default is empty string which will create the window in the next
150+
available position.
151+
:type window_index: string
152+
:param window_command: execute a command on starting the window. The
153+
window will close when the command exits.
154+
:type window_command: string
148155
:param type: bool
149156
:rtype: :class:`Window`
150157

0 commit comments

Comments
 (0)