code: func WaitForKey() {
  	for {
  		e := PollEvent()
  		switch e.Type {
  		case termbox.EventKey:
  			switch e.Key {
  			case termbox.KeyEsc, termbox.KeyEnter, termbox.KeySpace:
  				return
  			}
  		}
  	}
  }
docs: // Wait for Esc, Enter or Space to be pressed