File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -492,6 +492,7 @@ def split(
492
492
start_directory : t .Optional [str ] = None ,
493
493
attach : bool = False ,
494
494
direction : t .Optional [PaneDirection ] = None ,
495
+ full_window_split : t .Optional [bool ] = None ,
495
496
shell : t .Optional [str ] = None ,
496
497
size : t .Optional [t .Union [str , int ]] = None ,
497
498
environment : t .Optional [t .Dict [str , str ]] = None ,
@@ -509,6 +510,8 @@ def split(
509
510
specifies the working directory in which the new window is created.
510
511
direction : PaneDirection, optional
511
512
split in direction. If none is specified, assume down.
513
+ full_window_split: bool, optional
514
+ split across full window width or height, rather than active pane.
512
515
shell : str, optional
513
516
execute a command on splitting the window. The pane will close
514
517
when the command exits.
@@ -587,6 +590,9 @@ def split(
587
590
else :
588
591
tmux_args += (f"-l{ size } " ,)
589
592
593
+ if full_window_split :
594
+ tmux_args += ("-f" ,)
595
+
590
596
if percent is not None :
591
597
# Deprecated in 3.1 in favor of -l
592
598
warnings .warn (
You can’t perform that action at this time.
0 commit comments