We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eab168 commit ce3bd14Copy full SHA for ce3bd14
libtmux/session.py
@@ -201,7 +201,7 @@ def new_window(
201
start_directory: None = None,
202
attach: bool = True,
203
window_index: str = "",
204
- window_shell: None = None,
+ window_shell: t.Optional[str] = None,
205
) -> Window:
206
"""
207
Return :class:`Window` from ``$ tmux new-window``.
@@ -219,7 +219,7 @@ def new_window(
219
window_index : str
220
create the new window at the given index position. Default is empty
221
string which will create the window in the next available position.
222
- window_shell : str
+ window_shell : str, optional
223
execute a command on starting the window. The window will close
224
when the command exits.
225
0 commit comments