Skip to content

Commit d49f060

Browse files
committed
Pane(cmd): Remove **kwargs
1 parent eab21f8 commit d49f060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtmux/pane.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def session(self) -> "Session":
112112
Commands (pane-scoped)
113113
"""
114114

115-
def cmd(self, cmd: str, *args: t.Any, **kwargs: t.Any) -> tmux_cmd:
115+
def cmd(self, cmd: str, *args: t.Any) -> tmux_cmd:
116116
"""Execute tmux subcommand against target pane. See also: :meth:`Server.cmd`.
117117
118118
Send command to tmux with :attr:`pane_id` as ``target-pane``.
@@ -123,7 +123,7 @@ def cmd(self, cmd: str, *args: t.Any, **kwargs: t.Any) -> tmux_cmd:
123123
if not any("-t" in str(x) for x in args):
124124
args = ("-t", self.pane_id, *args)
125125

126-
return self.server.cmd(cmd, *args, **kwargs)
126+
return self.server.cmd(cmd, *args)
127127

128128
"""
129129
Commands (tmux-like)

0 commit comments

Comments
 (0)