mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
tui: Allow handlers to finalize() as well as initialize()
This commit is contained in:
parent
8bbc2b82d4
commit
20c42ab519
5 changed files with 43 additions and 39 deletions
|
|
@ -327,8 +327,7 @@ class UnicodeInput(Handler):
|
|||
self.write(set_line_wrapping(False))
|
||||
self.write(set_window_title(_('Unicode input')))
|
||||
|
||||
def initialize(self, *args):
|
||||
Handler.initialize(self, *args)
|
||||
def initialize(self):
|
||||
self.init_terminal_state()
|
||||
self.draw_screen()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue