Crate tinf [] [src]

An interface to terminfo databases.

Usage

For loading terminal descriptions, see Desc; for sending commands to the terminal, see tparm and tputs.

Platform Compatibility

This requires the local terminfo database to be in a directory tree format; it will not work with a hashed database format. In other words, it should Just Work on Linux/OSX/Cygwin, but it might not work out of the box on BSD operating systems.

Modules

cap

Terminfo capability names.

Macros

desc

A syntax for Desc literals.

params

Parameter lists for tparm.

Structs

CapError

An error that occurred while preparing or printing a string capability.

Desc

A terminal description.

DescError

An error that occurred while finding or parsing a terminal description.

Vars

Variables for tparm.

Enums

Param

A parameter for tparm.

Functions

tparm

Interpolate parameters into a string capability.

tputs

Print a string capability, applying padding.