tickit_termctl_name() returns the name of the given terminal control. These names are the lowercase
strings given in tickit_term(7).
tickit_termctl_lookup() returns the control constant for a given name. If the name is not recognised then
-1 is returned.
tickit_termctl_type() returns the type of the given terminal control, as one of the following constants:
TICKIT_TYPE_BOOL
The value is an integer representing a simple boolean choice, where any nonzero value is true. Use
tickit_term_setctl_int(3) and tickit_term_getctl_int(3).
TICKIT_TYPE_INT
The value is an integer representing a quantity, or a value in some particular enumeration. Use
tickit_term_setctl_int(3) and tickit_term_getctl_int(3).
TICKIT_TYPE_STR
The value is a string. Use tickit_term_setctl_str(3).
For unrecognised control types, the function returns 0.