mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
Fix #8461
This commit is contained in:
@@ -242,6 +242,7 @@ class WindowDict(TypedDict):
|
|||||||
user_vars: dict[str, str]
|
user_vars: dict[str, str]
|
||||||
at_prompt: bool
|
at_prompt: bool
|
||||||
created_at: int
|
created_at: int
|
||||||
|
in_alternate_screen: bool
|
||||||
|
|
||||||
|
|
||||||
class PipeData(TypedDict):
|
class PipeData(TypedDict):
|
||||||
@@ -781,6 +782,7 @@ class Window:
|
|||||||
'columns': self.screen.columns,
|
'columns': self.screen.columns,
|
||||||
'user_vars': self.user_vars,
|
'user_vars': self.user_vars,
|
||||||
'created_at': self.created_at,
|
'created_at': self.created_at,
|
||||||
|
'in_alternate_screen': self.screen.is_using_alternate_linebuf(),
|
||||||
}
|
}
|
||||||
|
|
||||||
def serialize_state(self) -> dict[str, Any]:
|
def serialize_state(self) -> dict[str, Any]:
|
||||||
|
|||||||
Reference in New Issue
Block a user