This commit is contained in:
cpacker
2023-10-19 16:32:58 -07:00
parent 24eb2eea09
commit 13463f5c4f

View File

@@ -34,11 +34,9 @@ flags.DEFINE_string("archival_storage_sqldb", default="", required=False, help="
def clear_line():
# print(f"os.name = {os.name}")
if os.name == 'nt': # for windows
console.print("\033[A\033[K", end="")
else: # for linux
# console.print("\033[2K\033[G", end="")
sys.stdout.write("\033[2K\033[G")
sys.stdout.flush()