Skip to content

Commit 0b45edc

Browse files
committed
chore(session): Add docs to panes
1 parent db8ee16 commit 0b45edc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/libtmux/session.py

+6
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ def windows(self) -> QueryList["Window"]: # type:ignore
114114

115115
@property
116116
def panes(self) -> QueryList["Pane"]: # type:ignore
117+
"""Panes belonging session.
118+
119+
Can be accessed via
120+
:meth:`.panes.get() <libtmux._internal.query_list.QueryList.get()>` and
121+
:meth:`.panes.filter() <libtmux._internal.query_list.QueryList.filter()>`
122+
"""
117123
panes: t.List["Pane"] = []
118124
for obj in fetch_objs(
119125
list_cmd="list-panes",

0 commit comments

Comments
 (0)