Skip to content

Commit

Permalink
refactor: Window.split_window() -> Pane.split()
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Mar 17, 2024
1 parent dd7b59c commit 2a6c61f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tmuxp/workspace/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def get_pane_shell(

assert pane is not None

pane = window.split_window(
pane = pane.split(
attach=True,
start_directory=get_pane_start_directory(
pane_config=pane_config,
Expand All @@ -505,7 +505,6 @@ def get_pane_shell(
pane_config=pane_config,
window_config=window_config,
),
target=pane.id,
environment=environment,
)

Expand Down

0 comments on commit 2a6c61f

Please sign in to comment.