diff --git a/litex/soc/tools/litex_term.py b/litex/soc/tools/litex_term.py index 97fb0579a..53da5368b 100644 --- a/litex/soc/tools/litex_term.py +++ b/litex/soc/tools/litex_term.py @@ -154,7 +154,10 @@ class LiteXTerm: length = len(data) start = time.time() while len(data): - print("{}%\r".format(100*position//length), end="") + sys.stdout.write("|{}>{}| {}%\r".format('=' * (20*position//length), + ' ' * (20-20*position//length), + 100*position//length)) + sys.stdout.flush() frame = SFLFrame() frame_data = data[:251] frame.cmd = sfl_cmd_load