Skip to content

Commit b46e7fa

Browse files
committed
chore(Session.new_window): Avoid redundant use of -t
1 parent 1829385 commit b46e7fa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/libtmux/session.py

-5
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,6 @@ def new_window(
590590
if window_name is not None and isinstance(window_name, str):
591591
window_args += ("-n", window_name)
592592

593-
window_args += (
594-
# empty string for window_index will use the first one available
595-
f"-t{self.session_id}:{window_index}",
596-
)
597-
598593
if environment:
599594
if has_gte_version("3.0"):
600595
for k, v in environment.items():

0 commit comments

Comments
 (0)