mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Also report window sizes in kitty @ ls
This commit is contained in:
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user