mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix markdown not clearing
This commit is contained in:
@@ -33,7 +33,7 @@ class DictionaryApp(App):
|
||||
self.lookup_word(message.value)
|
||||
else:
|
||||
# Clear the results
|
||||
self.query_one("#results", Markdown).update("")
|
||||
await self.query_one("#results", Markdown).update("")
|
||||
|
||||
@work(exclusive=True)
|
||||
async def lookup_word(self, word: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user