shell: rework vt100 commands storage
VT100 commands are now stored as strings rather than character arrays. This change will make it easier to create a unified macro for sending all VT100 commands. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
851cccb67e
commit
0a50ebed01
4 changed files with 264 additions and 592 deletions
|
@ -12,7 +12,6 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
enum shell_vt100_color {
|
||||
SHELL_VT100_COLOR_DEFAULT,
|
||||
SHELL_VT100_COLOR_BLACK,
|
||||
SHELL_VT100_COLOR_RED,
|
||||
SHELL_VT100_COLOR_GREEN,
|
||||
|
@ -22,6 +21,8 @@ enum shell_vt100_color {
|
|||
SHELL_VT100_COLOR_CYAN,
|
||||
SHELL_VT100_COLOR_WHITE,
|
||||
|
||||
SHELL_VT100_COLOR_DEFAULT,
|
||||
|
||||
VT100_COLOR_END
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue