github.com/wayneashleyberry/terminal-dimensions
Package terminaldimensions provides simple helper functions to get the width and height of a users terminal.
go get github.com/wayneashleyberry/terminal-dimensions