From ba3f00e64ea1cadb2149c64ba3dcb037b728111b Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Fri, 22 Dec 2017 23:11:11 +0100 Subject: [PATCH] Clear screen before showing UI --- slides/autopilot/autotest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slides/autopilot/autotest.py b/slides/autopilot/autotest.py index 60ce6cc5..cec6171c 100755 --- a/slides/autopilot/autotest.py +++ b/slides/autopilot/autotest.py @@ -114,6 +114,7 @@ class Remote(object): return self.goto(slide_number) while self.slide_on_screen < slide_number: if state.interactive: + click.clear() print("Catching up on slide: {} -> {}" .format(self.slide_on_screen, slide_number)) print("z/⏎ Zoom to target slide") @@ -304,6 +305,7 @@ while state.next_step < len(actions): # Synchronize the remote slides remote.catchup(slide.number) + click.clear() print(hrule()) print(slide.content.replace(snippet.content, ansi(7)(snippet.content))) print(hrule())