mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
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 @@ class Window:
|
|||
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…
Add table
Add a link
Reference in a new issue