Skip to content

Commit 9c4bfc4

Browse files
committed
chore(Window.attached_pane): Add return typing
1 parent 61b5d70 commit 9c4bfc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libtmux/window.py

+1
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ def attached_pane(self) -> t.Optional[Pane]:
503503
# for now pane_active is a unicode
504504
if "pane_active" in pane and pane.get("pane_active") == "1":
505505
return Pane(window=self, **pane)
506+
return None
506507

507508
def _list_panes(self) -> t.List[PaneDict]:
508509
panes = self.server._update_panes()._panes

0 commit comments

Comments
 (0)