1
0
mirror of https://github.com/docker/docs.git synced 2026-11-01 22:34:29 +03:00

Merge pull request #2348 from aanand/fix-parallel-output

Fix parallel output
This commit is contained in:
Daniel Nephin
2015-11-09 13:09:50 -05:00

View File

@@ -164,7 +164,7 @@ def write_out_msg(stream, lines, msg_index, msg, status="done"):
stream.write("%c[%dA" % (27, diff))
# erase
stream.write("%c[2K\r" % 27)
stream.write("{} {} ... {}\n".format(msg, obj_index, status))
stream.write("{} {} ... {}\r".format(msg, obj_index, status))
# move back down
stream.write("%c[%dB" % (27, diff))
else: