def update_line(s, bold=False, underline=False, blinking=False, color=None, bgcolor=None):
    """
    Overwrites the output of the current line and prints s on the same line
    without a new line.

    """
    s = get_line(s, bold=bold, underline=underline, blinking=blinking,
                 color=color, bgcolor=bgcolor, update_line=True)
    print(s, end='')
Overwrites the output of the current line and prints s on the same line
    without a new line.