Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion boot-qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def pretty_print_qemu_cmd(qemu_cmd):
qemu_cmd_pretty += " {}".format(element.split("/")[-1])
else:
qemu_cmd_pretty += " {}".format(element)
print("$ {}".format(qemu_cmd_pretty.strip()))
print("$ {}".format(qemu_cmd_pretty.strip()), flush=True)


def launch_qemu(cfg):
Expand Down
4 changes: 2 additions & 2 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def green(string):
Parameters:
string (str): String to print in bold green.
"""
print("\n\033[01;32m{}\033[0m".format(string))
print("\n\033[01;32m{}\033[0m".format(string), flush=True)


def red(string):
Expand All @@ -83,4 +83,4 @@ def red(string):
Parameters:
string (str): String to print in bold red.
"""
print("\n\033[01;31m{}\033[0m".format(string))
print("\n\033[01;31m{}\033[0m".format(string), flush=True)