#include <stdlib.h>#include <stdio.h>#include <string.h>#include <stdarg.h>#include <ctype.h>#include <aversive/pgmspace.h>#include "vt100.h"Go to the source code of this file.
Functions | |
| void | vt100_init (struct vt100 *vt) |
| int8_t | vt100_parser (struct vt100 *vt, char ch) |
Variables | |
| const prog_char *vt100_commands[] | PROGMEM |
| void vt100_init | ( | struct vt100 * | vt | ) |
Init
Definition at line 65 of file vt100.c.
References vt100::state, and VT100_INIT.
Referenced by rdline_char_in(), and rdline_newline().
| int8_t vt100_parser | ( | struct vt100 * | vt, | |
| char | c | |||
| ) |
Input a new character. Return -1 if the character is not part of a control sequence Return -2 if c is not the last char of a control sequence Else return the index in vt100_commands[]
Definition at line 94 of file vt100.c.
References vt100::buf, vt100::bufpos, vt100::state, VT100_BUF_SIZE, VT100_ESCAPE, VT100_ESCAPE_CSI, and VT100_INIT.
Referenced by rdline_char_in().
| const prog_char* vt100_commands [] PROGMEM |
1.5.6