mirror of
https://github.com/ihabunek/toot.git
synced 2024-11-03 04:17:21 -05:00
Upgraded to term-image 0.7.0
This commit is contained in:
parent
6d0edaf16f
commit
cb27d38e9b
@ -3,4 +3,4 @@ beautifulsoup4>=4.5.0,<5.0
|
||||
wcwidth>=0.1.7
|
||||
urwid>=2.0.0,<3.0
|
||||
pillow>=9.5.0
|
||||
term-image==0.6.1
|
||||
term-image==0.7.0
|
||||
|
2
setup.py
2
setup.py
@ -40,7 +40,7 @@ setup(
|
||||
"urwid>=2.0.0,<3.0",
|
||||
"tomlkit>=0.10.0,<1.0"
|
||||
"pillow>=9.5.0",
|
||||
"term-image==0.6.1",
|
||||
"term-image==0.7.0",
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
|
@ -129,6 +129,7 @@ class TUI(urwid.Frame):
|
||||
self.overlay = None
|
||||
self.exception = None
|
||||
self.can_translate = False
|
||||
self.screen = UrwidImageScreen()
|
||||
self.account = None
|
||||
|
||||
super().__init__(self.body, header=self.header, footer=self.footer)
|
||||
|
@ -147,6 +147,7 @@ class Timeline(urwid.Columns):
|
||||
def modified(self):
|
||||
"""Called when the list focus switches to a new status"""
|
||||
status, index, count = self.get_focused_status_with_counts()
|
||||
self.tui.screen.clear_images()
|
||||
self.draw_status_details(status)
|
||||
self._emit("focus")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user