@@ -998,7 +998,7 @@ def _on_stdout(line):
998
998
match = re .search (pattern_fomu , line )
999
999
if match :
1000
1000
# -- Delete the previous line
1001
- print (CURSOR_UP + ERASE_LINE , end = "" )
1001
+ print (CURSOR_UP + ERASE_LINE , end = "" , flush = True )
1002
1002
# ---- Fomu output processing END
1003
1003
1004
1004
fgcol = "green" if "is up to date" in line else None
@@ -1031,7 +1031,7 @@ def _on_stderr(line: str):
1031
1031
# -- initial one (when it is 0%)
1032
1032
if match_tinyprog and " 0%|" not in line :
1033
1033
# -- Delete the previous line
1034
- print (CURSOR_UP + ERASE_LINE , end = "" )
1034
+ print (CURSOR_UP + ERASE_LINE , end = "" , flush = True )
1035
1035
# ------- tinyprog output processing END
1036
1036
1037
1037
# ------- iceprog output processing BEGIN
@@ -1051,7 +1051,7 @@ def _on_stderr(line: str):
1051
1051
# -- (or if it is the end of verifying!)
1052
1052
if match or "done." in line or "VERIFY OK" in line :
1053
1053
# -- Delete the previous line
1054
- print (CURSOR_UP + ERASE_LINE , end = "" )
1054
+ print (CURSOR_UP + ERASE_LINE , end = "" , flush = True )
1055
1055
# ------- Iceprog output processing END
1056
1056
1057
1057
# -- Print the line (In YELLOW)
0 commit comments