Skip to content

Commit c16c0ba

Browse files
committed
!squash to feat(Pane): Add Pane.split, deprecate Pane.split_window
1 parent 14f350c commit c16c0ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libtmux/pane.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,7 @@ def split_window(
759759
category=DeprecationWarning,
760760
stacklevel=2,
761761
)
762-
return self.window.split_window(
763-
target=self.pane_id,
762+
return self.split(
764763
attach=attach,
765764
start_directory=start_directory,
766765
vertical=vertical,

0 commit comments

Comments
 (0)