libt3window
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules
Data Fields

Data structure to store information about the capabilities of the terminal. More...

Data Fields

int cap_flags
 A bitmask of T3_TERM_CAP_* flags indicating capabilities of the terminal. More...
 
int colors
 The maximum number of supported colors, or 0 if color is not supported. More...
 
t3_attr_t highlights
 The supported attributes other then color attributes. More...
 
int pairs
 The maximum number of color pairs that are supported by this terminal, or 0 if color is not supported. More...
 

Detailed Description

Data structure to store information about the capabilities of the terminal.

See t3_term_get_caps for details on how to use this struct.

Field Documentation

int t3_term_caps_t::cap_flags

A bitmask of T3_TERM_CAP_* flags indicating capabilities of the terminal.

int t3_term_caps_t::colors

The maximum number of supported colors, or 0 if color is not supported.

t3_attr_t t3_term_caps_t::highlights

The supported attributes other then color attributes.

This is a bitmask of T3_ATTR_* flags.

int t3_term_caps_t::pairs

The maximum number of color pairs that are supported by this terminal, or 0 if color is not supported.