Also report window sizes in kitty @ ls
This commit is contained in:
parent
6179cfc670
commit
cf0b2389a3
1 changed files with 5 additions and 1 deletions
|
|
@ -57,6 +57,8 @@ class WindowDict(TypedDict):
|
|||
env: Dict[str, str]
|
||||
foreground_processes: List[ProcessDesc]
|
||||
is_self: bool
|
||||
lines: int
|
||||
columns: int
|
||||
|
||||
|
||||
class PipeData(TypedDict):
|
||||
|
|
@ -391,7 +393,9 @@ def as_dict(self, is_focused: bool = False, is_self: bool = False) -> WindowDict
|
|||
cmdline=self.child.cmdline,
|
||||
env=self.child.environ,
|
||||
foreground_processes=self.child.foreground_processes,
|
||||
is_self=is_self
|
||||
is_self=is_self,
|
||||
lines=self.screen.lines,
|
||||
columns=self.screen.columns,
|
||||
)
|
||||
|
||||
def serialize_state(self) -> Dict[str, Any]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue