Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ $ pip install --user --upgrade --pre libtmux

<!-- To maintainers and contributors: Please add notes for the forthcoming version above -->

### Bug fix

- {attr}`Server.attached_sessions` fix for when multiple clients attached, thank you @patrislav1 (#537)

- #538 fix to `QueryList`.

## libtmux 0.35.0 (2024-03-17)

### Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion src/libtmux/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def attached_sessions(self) -> t.List[Session]:
-------
list of :class:`Session`
"""
return [s for s in self.sessions if s.session_attached != "0"]
return self.sessions.filter(session_attached__noeq="1")

def has_session(self, target_session: str, exact: bool = True) -> bool:
"""Return True if session exists.
Expand Down