File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ def new_window(
436
436
self ,
437
437
window_name : t .Optional [str ] = None ,
438
438
start_directory : None = None ,
439
- attach : bool = True ,
439
+ attach : bool = False ,
440
440
window_index : str = "" ,
441
441
window_shell : t .Optional [str ] = None ,
442
442
environment : t .Optional [t .Dict [str , str ]] = None ,
@@ -465,6 +465,10 @@ def new_window(
465
465
useful for long-running processes where the closing of the
466
466
window upon completion is desired.
467
467
468
+ .. versionchanged:: 0.28.0
469
+
470
+ ``attach`` default changed from ``True`` to ``False``.
471
+
468
472
Returns
469
473
-------
470
474
:class:`Window`
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Window(Obj):
39
39
40
40
Examples
41
41
--------
42
- >>> window = session.new_window('My project')
42
+ >>> window = session.new_window('My project', attach=True )
43
43
44
44
>>> window
45
45
Window(@2 2:My project, Session($... ...))
You can’t perform that action at this time.
0 commit comments