code: func AddTerminfo(t *Terminfo) {
  	dblock.Lock()
  	terminfos[t.Name] = t
  	for _, x := range t.Aliases {
  		terminfos[x] = t
  	}
  	dblock.Unlock()
  }
docs: // AddTerminfo can be called to register a new Terminfo entry.