Skip to content

Commit eab21f8

Browse files
committed
Window(cmd): Remove **kwargs
1 parent 1d53128 commit eab21f8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/libtmux/window.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ def panes(self) -> QueryList["Pane"]:
136136
Commands (pane-scoped)
137137
"""
138138

139-
def cmd(self, cmd: str, *args: t.Any, **kwargs: t.Any) -> tmux_cmd:
139+
def cmd(
140+
self,
141+
cmd: str,
142+
*args: t.Any,
143+
) -> tmux_cmd:
140144
"""Execute tmux subcommand against target window. See :meth:`Server.cmd`.
141145
142146
Send command to tmux with :attr:`window_id` as ``target-window``.
@@ -147,7 +151,7 @@ def cmd(self, cmd: str, *args: t.Any, **kwargs: t.Any) -> tmux_cmd:
147151
if not any("-t" in str(x) for x in args):
148152
args = ("-t", self.window_id, *args)
149153

150-
return self.server.cmd(cmd, *args, **kwargs)
154+
return self.server.cmd(cmd, *args)
151155

152156
"""
153157
Commands (tmux-like)

0 commit comments

Comments
 (0)