Forgot to clear screen before drawing

This commit is contained in:
Kovid Goyal 2021-09-28 12:56:19 +05:30
parent 3c742a0037
commit 0f9d6a1e4a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -138,6 +138,7 @@ class Choose(Handler):
@Handler.atomic_update
def draw_screen(self) -> None:
self.cmd.clear_screen()
if self.cli_opts.message:
self.cmd.styled(self.cli_opts.message, bold=True)
self.print()