mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
...
This commit is contained in:
@@ -625,7 +625,7 @@ class Window:
|
|||||||
)
|
)
|
||||||
|
|
||||||
def serialize_state(self) -> Dict[str, Any]:
|
def serialize_state(self) -> Dict[str, Any]:
|
||||||
return {
|
ans = {
|
||||||
'version': 1,
|
'version': 1,
|
||||||
'id': self.id,
|
'id': self.id,
|
||||||
'child_title': self.child_title,
|
'child_title': self.child_title,
|
||||||
@@ -640,6 +640,9 @@ class Window:
|
|||||||
'margin': self.margin.serialize(),
|
'margin': self.margin.serialize(),
|
||||||
'padding': self.padding.serialize(),
|
'padding': self.padding.serialize(),
|
||||||
}
|
}
|
||||||
|
if self.window_custom_type:
|
||||||
|
ans['window_custom_type'] = self.window_custom_type
|
||||||
|
return ans
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def current_colors(self) -> Dict[str, Optional[int]]:
|
def current_colors(self) -> Dict[str, Optional[int]]:
|
||||||
|
|||||||
Reference in New Issue
Block a user