mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 11:09:16 +02:00
tui: Allow handlers to finalize() as well as initialize()
This commit is contained in:
@@ -54,8 +54,7 @@ class DiffHandler(Handler):
|
||||
self.write(set_line_wrapping(False))
|
||||
self.write(set_window_title('kitty +diff'))
|
||||
|
||||
def initialize(self, *args):
|
||||
Handler.initialize(self, *args)
|
||||
def initialize(self):
|
||||
self.init_terminal_state()
|
||||
self.draw_screen()
|
||||
self.create_collection()
|
||||
|
||||
Reference in New Issue
Block a user