Skip to content

Commit aef8074

Browse files
committed
builder: set_window_option -> set_option
1 parent da0b6b0 commit aef8074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tmuxp/workspace/builder.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def iter_create_windows(
433433
dict,
434434
):
435435
for key, val in window_config["options"].items():
436-
window.set_window_option(key, val)
436+
window.set_option(key, val)
437437

438438
if window_config.get("focus"):
439439
window.select()
@@ -585,7 +585,7 @@ def config_after_window(
585585
dict,
586586
):
587587
for key, val in window_config["options_after"].items():
588-
window.set_window_option(key, val)
588+
window.set_option(key, val)
589589

590590
def find_current_attached_session(self) -> Session:
591591
"""Return current attached session."""

0 commit comments

Comments
 (0)