Skip to content

Commit 8b51639

Browse files
committed
builder: set_window_option -> set_option
1 parent 694b90b commit 8b51639

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
@@ -410,7 +410,7 @@ def iter_create_windows(
410410
dict,
411411
):
412412
for key, val in window_config["options"].items():
413-
window.set_window_option(key, val)
413+
window.set_option(key, val)
414414

415415
if window_config.get("focus"):
416416
window.select()
@@ -562,7 +562,7 @@ def config_after_window(
562562
dict,
563563
):
564564
for key, val in window_config["options_after"].items():
565-
window.set_window_option(key, val)
565+
window.set_option(key, val)
566566

567567
def find_current_attached_session(self) -> Session:
568568
"""Return current attached session."""

0 commit comments

Comments
 (0)