Skip to content

Commit 2a6c61f

Browse files
committed
refactor: Window.split_window() -> Pane.split()
1 parent dd7b59c commit 2a6c61f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/tmuxp/workspace/builder.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def get_pane_shell(
495495

496496
assert pane is not None
497497

498-
pane = window.split_window(
498+
pane = pane.split(
499499
attach=True,
500500
start_directory=get_pane_start_directory(
501501
pane_config=pane_config,
@@ -505,7 +505,6 @@ def get_pane_shell(
505505
pane_config=pane_config,
506506
window_config=window_config,
507507
),
508-
target=pane.id,
509508
environment=environment,
510509
)
511510

0 commit comments

Comments
 (0)