code: func Exit(format string, args ...interface{}) {
  	termbox.Close()
  	fmt.Fprintf(os.Stderr, format+"\n", args...)
  	os.Exit(1)
  }
docs: // Exit application but deinit first so that the terminal will not be corrupt.