Skip to content

Conversation

@stephensearles
Copy link

With long statuses, this was wrapping to the next line and causing the terminal to go to the next line and add a bunch of whitespace to my output. This change lets me set a max width, which in my program, I'm getting with https://godoc.org/golang.org/x/crypto/ssh/terminal.

}
}

func (bar *StatusBar) SetWidth(w int) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add documentation for this method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants