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.
2 parents d4d1378 + 8fa7a6d commit d941403Copy full SHA for d941403
tmuxp/server.py
@@ -404,15 +404,11 @@ def new_session(self,
404
$ tmux new-session -s <session_name>
405
:type session_name: string
406
407
- :param detach: create session background::
+ :param attach: create session in the foreground. ``attach=False`` is
408
+ equivalent to::
409
410
$ tmux new-session -d
- :type detach: bool
411
-
412
- :param attach_if_exists: if the session_name exists, attach it.
413
- if False, this method will raise a
414
- :exc:`tmuxp.exc.TmuxSessionExists` exception
415
- :type attach_if_exists: bool
+ :type attach: bool
416
417
:param kill_session: Kill current session if ``$ tmux has-session``
418
Useful for testing workspaces.
0 commit comments