All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
cli_shell_line.h
1#pragma once
2
3#include <furi.h>
4
5#include "cli_shell_i.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct CliShellLine CliShellLine;
12
13CliShellLine* cli_shell_line_alloc(CliShell* shell);
14
15void cli_shell_line_free(CliShellLine* line);
16
17FuriString* cli_shell_line_get_selected(CliShellLine* line);
18
19FuriString* cli_shell_line_get_editing(CliShellLine* line);
20
21size_t cli_shell_line_prompt_length(CliShellLine* line);
22
23void cli_shell_line_format_prompt(CliShellLine* line, char* buf, size_t length);
24
25void cli_shell_line_prompt(CliShellLine* line);
26
27size_t cli_shell_line_get_line_position(CliShellLine* line);
28
29void cli_shell_line_set_line_position(CliShellLine* line, size_t position);
30
34void cli_shell_line_ensure_not_overwriting_history(CliShellLine* line);
35
36void cli_shell_line_set_about_to_exit(CliShellLine* line);
37
38extern CliShellKeyComboSet cli_shell_line_key_combo_set;
39
40#ifdef __cplusplus
41}
42#endif
Definition cli_shell.c:38
Definition cli_shell_i.h:22
Definition cli_shell_line.c:5
Definition string.c:4