diff --git a/kitty/boss.py b/kitty/boss.py index ee58baeb8..d5ef3dfa1 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -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]