Struct SYN_CLI¶
CLI instance — command table, line buffer, I/O, and history.
#include <syn_cli.h>
Public Attributes¶
| Type | Name |
|---|---|
| size_t | command_count |
| const SYN_CLI_Command * | commands |
| bool | echo |
| uint8_t | escape_state |
| char | line_buf |
| size_t | line_pos |
| const char * | prompt |
| bool | prompt_visible |
Public Attributes Documentation¶
variable command_count¶
Number of commands
variable commands¶
Registered command array
variable echo¶
Echo enabled
variable escape_state¶
ANSI escape sequence state
variable line_buf¶
Input line buffer
variable line_pos¶
Current cursor position
variable prompt¶
Prompt string
variable prompt_visible¶
Prompt currently visible on screen
The documentation for this class was generated from the following file src/syntropic/cli/syn_cli.h