github.com/timsutton/packer@v1.3.2/common/terminal.go (about)

     1  package common
     2  
     3  // call into one of the platform-specific implementations to get the current terminal dimensions
     4  func GetTerminalDimensions() (width, height int, err error) {
     5  	return platformGetTerminalDimensions()
     6  }