mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 02:41:54 +00:00
...
This commit is contained in:
parent
6aa3405c78
commit
a4c3154dab
1 changed files with 4 additions and 1 deletions
|
|
@ -625,7 +625,7 @@ class Window:
|
|||
)
|
||||
|
||||
def serialize_state(self) -> Dict[str, Any]:
|
||||
return {
|
||||
ans = {
|
||||
'version': 1,
|
||||
'id': self.id,
|
||||
'child_title': self.child_title,
|
||||
|
|
@ -640,6 +640,9 @@ class Window:
|
|||
'margin': self.margin.serialize(),
|
||||
'padding': self.padding.serialize(),
|
||||
}
|
||||
if self.window_custom_type:
|
||||
ans['window_custom_type'] = self.window_custom_type
|
||||
return ans
|
||||
|
||||
@property
|
||||
def current_colors(self) -> Dict[str, Optional[int]]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue