Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell_types.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef SHELL_TYPES_H__
7#define SHELL_TYPES_H__
8
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
28
33
43
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* SHELL_TYPES_H__ */
shell_vt100_color
Definition shell_types.h:14
@ SHELL_VT100_COLOR_WHITE
Definition shell_types.h:22
@ SHELL_VT100_COLOR_DEFAULT
Definition shell_types.h:24
@ SHELL_VT100_COLOR_BLACK
Definition shell_types.h:15
@ SHELL_VT100_COLOR_CYAN
Definition shell_types.h:21
@ SHELL_VT100_COLOR_RED
Definition shell_types.h:16
@ SHELL_VT100_COLOR_MAGENTA
Definition shell_types.h:20
@ VT100_COLOR_END
Definition shell_types.h:26
@ SHELL_VT100_COLOR_GREEN
Definition shell_types.h:17
@ SHELL_VT100_COLOR_BLUE
Definition shell_types.h:19
@ SHELL_VT100_COLOR_YELLOW
Definition shell_types.h:18
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Definition shell_types.h:34
uint16_t cur_y_end
vertical cursor position at the end of command.
Definition shell_types.h:38
uint16_t cur_y
vertical cursor position in edited command.
Definition shell_types.h:37
uint16_t terminal_wid
terminal screen width.
Definition shell_types.h:40
uint16_t cur_x
horizontal cursor position in edited command line.
Definition shell_types.h:35
uint16_t cur_x_end
horizontal cursor position at the end of command.
Definition shell_types.h:36
uint8_t name_len
console name length.
Definition shell_types.h:41
uint16_t terminal_hei
terminal screen height.
Definition shell_types.h:39
Definition shell_types.h:29
enum shell_vt100_color bgcol
Background color.
Definition shell_types.h:31
enum shell_vt100_color col
Text color.
Definition shell_types.h:30
Definition shell_types.h:44
uint16_t printed_cmd
printed commands counter
Definition shell_types.h:47
struct shell_multiline_cons cons
Definition shell_types.h:45
struct shell_vt100_colors col
Definition shell_types.h:46