Ban urwid==2.4.3 as containing UI regression.

Fix urwid entities init: use correct `super()`,
hack `__super` is officially deprecated.
Method <Class>.method(self, ...) is only for fallback in corner cases
(normally not recommended to use).
This commit is contained in:
Aleksei Stepanov 2024-01-18 10:22:38 +01:00
parent d856f3fd28
commit ed6ba63317
7 changed files with 31 additions and 31 deletions

View file

@ -13,7 +13,7 @@ class ConfigFiller(urwid.WidgetWrap):
def __init__(self, widget, app):
self.app = app
self.filler = urwid.Filler(widget, "top")
urwid.WidgetWrap.__init__(self, self.filler)
super().__init__(self.filler)
def keypress(self, size, key):
@ -71,7 +71,7 @@ class EditorTerminal(urwid.WidgetWrap):
urwid.connect_signal(self.term, 'closed', quit_term)
urwid.WidgetWrap.__init__(self, self.term)
super().__init__(self.term)
def keypress(self, size, key):