BSB Developer Docs
Loading...
Searching...
No Matches
cli_shell_i.h
1#pragma once
2
3#include "../cli_ansi.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9#define CLI_REGISTRY_COUNT 2
10
11typedef struct CliShell CliShell;
12
17typedef bool (*CliShellKeyComboAction)(CliKeyCombo combo, void* context);
18
19typedef struct {
20 CliKeyCombo combo;
21 CliShellKeyComboAction action;
23
24typedef struct {
25 CliShellKeyComboAction fallback;
26 size_t count;
27 CliShellKeyComboRecord records[];
29
30void cli_shell_execute_command(CliShell* cli_shell, FuriString* command);
31
32const char* cli_shell_get_prompt(CliShell* cli_shell);
33
34#ifdef __cplusplus
35}
36#endif
Definition cli_ansi.h:113
Definition cli_shell.c:81
Definition cli_shell_i.h:19
Definition cli_shell_i.h:24