Use the atomic update decorator everywhere

This commit is contained in:
Kovid Goyal
2021-09-27 12:00:33 +05:30
parent b1f4b2d8ed
commit 7e17ed21ce
5 changed files with 26 additions and 22 deletions

View File

@@ -391,7 +391,7 @@ class UnicodeInput(Handler):
text += ' ' * extra
self.print(styled(text, reverse=True))
@Handler.with_pending_update
@Handler.atomic_update
def draw_screen(self) -> None:
self.write(clear_screen())
self.draw_title_bar()