Database

Represents a database of terminal entries, indexed by their name.

Members

Static functions

get
const(Termcap)* get(string name, bool addTrueColor, bool add256Color)

Looks up an entry in the database. The name is most likely to be taken from the $TERM environment variable. Some massaging of the entry is done to amend with capabilities and support reasonable fallbacks.

put
void put(immutable(Termcap)* tc)

Adds an entry to the database. This should be called by terminal descriptions.

Meta