File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ $ pip install --user --upgrade --pre libtmux
15
15
16
16
<!-- To maintainers and contributors: Please add notes for the forthcoming version above -->
17
17
18
+ ### Bug fix
19
+
20
+ - {attr}` Server.attached_sessions ` fix for when multiple clients attached, thank you @patrislav1 (#537 )
21
+
22
+ - #538 fix to ` QueryList ` .
23
+
18
24
## libtmux 0.35.0 (2024-03-17)
19
25
20
26
### Breaking changes
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ def attached_sessions(self) -> t.List[Session]:
260
260
-------
261
261
list of :class:`Session`
262
262
"""
263
- return [ s for s in self .sessions if s . session_attached != "0" ]
263
+ return self .sessions . filter ( session_attached__noeq = "1" )
264
264
265
265
def has_session (self , target_session : str , exact : bool = True ) -> bool :
266
266
"""Return True if session exists.
You can’t perform that action at this time.
0 commit comments