This commit is contained in:
Aleksei Stepanov 2026-10-14 11:50:52 +02:00 • committed by GitHub
commit f19b91304c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ from ._termlib import is_kitty_supported
from .widget import ImageWidget
# A raw display screen subclass with Kitty TGP side-channel support
class ImageScreen(urwid.raw_display.Screen):
class ImageScreen(urwid.display.raw.Screen):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._ti_images = {}

View file

@ -146,7 +146,7 @@ class Scrollable(urwid.WidgetDecoration):
ow.focus = pwi
st = None
nf = ow.get_focus()
nf = ow.focus
if hasattr(nf, "key_timeout"):
st = nf
elif hasattr(nf, "original_widget"):