Forgot to declare session as a valid search location

This commit is contained in:
Kovid Goyal 2025-08-21 16:02:48 +05:30
parent 229413cbe8
commit 633725544c
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -548,7 +548,7 @@ def get_matches(location: str, query: str, candidates: set[int]) -> set[int]:
return {wid for wid in candidates if self.window_id_map[wid].matches_query(location, query, tab, self_window, active_session)}
for wid in search(match, (
'id', 'title', 'pid', 'cwd', 'cmdline', 'num', 'env', 'var', 'recent', 'state', 'neighbor',
'id', 'title', 'pid', 'cwd', 'cmdline', 'num', 'env', 'var', 'recent', 'state', 'neighbor', 'session',
), set(self.window_id_map), get_matches):
yield self.window_id_map[wid]