1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-09-22 04:25:55 -04:00

Revert change to terminal queries as it disables kitty pixel images

This commit is contained in:
Daniel Schwarz 2023-12-19 17:10:54 -05:00
parent 48b49ebf7c
commit 0e41abf213

View File

@ -1,8 +1,6 @@
# If term_image is loaded use their screen implementation which handles images
try:
from term_image.widget import UrwidImageScreen
from term_image import disable_queries
disable_queries() # prevent phantom keystrokes from terminal queries
TuiScreen = UrwidImageScreen
except ImportError:
from urwid.raw_display import Screen