|
PatchworkOS
966e257
A non-POSIX operating system.
|
ANSI. More...
ANSI.
Data Structures | |
| struct | ansi_receiving_t |
| ANSI receiving structure. More... | |
| struct | ansi_sending_t |
| ANSI sending structure. More... | |
Macros | |
| #define | ANSI_MAX_LENGTH 32 |
| The size we use for buffers when parsing ANSI sequences. | |
Functions | |
| static void | ansi_kbd_to_receiving (ansi_receiving_t *ansi, const event_kbd_t *kbd) |
| Convert a keycode to an ANSI receiving sequence. | |
| static void | ansi_sending_init (ansi_sending_t *ansi) |
| Initialize an ANSI sending structure. | |
| static bool | ansi_sending_parse (ansi_sending_t *ansi, char chr) |
| Parse a character for ANSI sending. | |
| #define ANSI_MAX_LENGTH 32 |
|
inlinestatic |
Convert a keycode to an ANSI receiving sequence.
A receiving sequence is a sequence sent from the terminal and received by processes running in the terminal.
| ansi | The receiving structure to store the sequence in. |
| kbd | The keyboard event to convert. |
Definition at line 40 of file ansi.h.
|
inlinestatic |
|
inlinestatic |