Skip to content

Commit d7d9d16

Browse files
author
Laura
authored
Move return character to end of print line (#4)
1 parent 81cf118 commit d7d9d16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hello_togglebot/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ def add_color(text, color):
7474

7575
def write_to_console(frame, color):
7676
frame = add_color(frame, color)
77-
sys.stdout.write('\r\x1b[K' + frame)
77+
sys.stdout.write('\x1b[K ' + frame + '\r')

0 commit comments

Comments
 (0)