mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-11 18:32:12 +02:00
Work on centralising lifecycle management in the child monitor
This commit is contained in:
@@ -193,10 +193,7 @@ class Tab:
|
||||
return window in self.windows
|
||||
|
||||
def destroy(self):
|
||||
if hasattr(self, 'windows'):
|
||||
for w in self.windows:
|
||||
w.destroy()
|
||||
del self.windows
|
||||
self.windows = deque()
|
||||
|
||||
def render(self):
|
||||
self.borders.render(get_boss().borders_program)
|
||||
|
||||
Reference in New Issue
Block a user