Prior to this PR it was not possible to pass a formatted string to update the message of a spinner. The consumer would have to assign the result of fmt.Sprintf() to a variable and then pass it as a parameter to UpdateMessage().
This PR adds the UpdateMessagef() method so that consumers can update spinner messages with a formatted string.
Prior to this PR it was not possible to pass a formatted string to update the message of a spinner. The consumer would have to assign the result of
fmt.Sprintf()
to a variable and then pass it as a parameter to UpdateMessage().This PR adds the
UpdateMessagef()
method so that consumers can update spinner messages with a formatted string.