Skip to content

Commit ef5ab50

Browse files
committed
fix(Obj._refresh): Allow passing list_extra_args
e.g. passing -a to list-windows and list-panes
1 parent 99eb667 commit ef5ab50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libtmux/neo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,14 @@ def _refresh(
167167
obj_key: str,
168168
obj_id: str,
169169
list_cmd: "ListCmd" = "list-panes",
170+
list_extra_args: "t.Optional[ListExtraArgs]" = None,
170171
) -> None:
171172
assert isinstance(obj_id, str)
172173
obj = fetch_obj(
173174
obj_key=obj_key,
174175
obj_id=obj_id,
175176
list_cmd=list_cmd,
177+
list_extra_args=list_extra_args,
176178
server=self.server,
177179
)
178180
assert obj is not None

0 commit comments

Comments
 (0)