#include <ansiesc.h>
Data Fields | |
| unsigned int | function |
| The control function identifier. | |
| void(* | handle )(unsigned int count, int params[]) |
| Handle escape sequence. | |
Definition at line 32 of file ansiesc.h.
| unsigned int ansiesc_handler::function |
The control function identifier.
The control function identifier consists of the Intermediate Bytes (if any) and the Final Byte. In practice, no more than one immediate byte is ever used, so the byte combination can be efficiently expressed as a single integer, in the obvious way (with the Final Byte being the least significant byte).
Definition at line 42 of file ansiesc.h.
Referenced by ansiesc_call_handler().
| void( * ansiesc_handler::handle)(unsigned int count, int params[]) |
Handle escape sequence.
| count | Parameter count | |
| params | Parameter list |
Since all parameters are optional, there is no way to distinguish between "zero parameters" and "single parameter omitted". Consequently, the parameter list will always contain at least one item.
Referenced by ansiesc_call_handler().
1.5.7.1