Database.get

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.

class Database
static @safe
const(Termcap)*
get
(
string name
,
bool addTrueColor = false
,
bool add256Color = false
)

Parameters

name string

name of the terminal (typically from $TERM)

Return Value

Type: const(Termcap)*

terminal capabilities if known, null if not.

Meta