diff --git a/docs/changelog.rst b/docs/changelog.rst index 6ef6c7100..e41a7f289 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -168,6 +168,8 @@ Detailed list of changes 0.47.0 [future] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +- :doc:`remote control`: Expose :code:`session_name` in the output of ``kitten @ ls`` for each window (:iss:`9732`) + - Fix thickness of diagonal lines in box drawing characters not the same as horizontal/vertical lines (:iss:`9719`) - Graphics protocol: Fix crash when handling invalid PNG image with direct transmission diff --git a/kitty/window.py b/kitty/window.py index c9da657fe..4ff0ac395 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -254,6 +254,7 @@ class WindowDict(TypedDict): created_at: int in_alternate_screen: bool neighbors: NeighborsMap + session_name: str class PipeData(TypedDict): @@ -2106,6 +2107,7 @@ class Window: 'created_at': self.created_at, 'in_alternate_screen': self.screen.is_using_alternate_linebuf(), 'neighbors': neighbors_map, + 'session_name': self.created_in_session_name, } def serialize_state(self) -> dict[str, Any]: