mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Expose session_name in kitten @ ls output for each window (fix #9732)
Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com> Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/98770c1a-7605-4597-a5ce-f27b35315930
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user