Versions in this module Expand all Collapse all v0 v0.0.0 Jan 12, 2025 Changes in this version + type Event struct + Err error + Key keys.Key + Seq []byte + type Terminfo struct + Aliases []string + Bools map[*caps.Cap]struct{} + Desc string + Extended []*caps.Cap + IntSize int + Keys map[string]keys.Key + Location string + Name string + Numbers map[*caps.Cap]int32 + Strings map[*caps.Cap]string + func New(term string) (*Terminfo, error) + func NewFromPath(path string) (*Terminfo, error) + func (ti Terminfo) FindKey(b []byte) (keys.Key, int) + func (ti Terminfo) FindKeys(fp io.Reader) <-chan Event + func (ti Terminfo) Get(c *caps.Cap, args ...int) string + func (ti Terminfo) Put(w io.Writer, c *caps.Cap, args ...int) + func (ti Terminfo) String() string + func (ti Terminfo) Supports(c *caps.Cap) bool