From b116496f877135681ad9a822d0dc8a61f8512587 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Tue, 29 Oct 2024 23:48:42 +0100 Subject: [PATCH] Make sure line is erased. --- examples/semantics/operational/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/semantics/operational/simulator.py b/examples/semantics/operational/simulator.py index 5214557..87bd9a3 100644 --- a/examples/semantics/operational/simulator.py +++ b/examples/semantics/operational/simulator.py @@ -92,7 +92,7 @@ def filter_valid_actions(pure_actions): conf = Conformance(new_od.state, new_od.m, new_od.mm) errors = conf.check_nominal() # erase current line: - print(" ", end='\r') + print(" ", end='\r') if len(errors) == 0: # updated RT-M is conform, we have a valid action: yield (name, functools.partial(make_tuple, new_od, msgs))