subsys : shell : Added API changing prompt
1. Added API to change shell prompt in runtime. 2. Added prompt buffer length configuration in Kconfig. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
559578c09a
commit
e59b8cbef9
4 changed files with 47 additions and 14 deletions
|
@ -67,6 +67,12 @@ config SHELL_BACKSPACE_MODE_DELETE
|
|||
Some terminals send code: 0x08 (backspace) other 0x7F (delete). When
|
||||
this option is set shell will expect 0x7F for backspace key.
|
||||
|
||||
config SHELL_PROMPT_LENGTH
|
||||
int "Maximum prompt length"
|
||||
default 16
|
||||
help
|
||||
Maximum length of prompt name in bytes.
|
||||
|
||||
config SHELL_CMD_BUFF_SIZE
|
||||
int "Shell command buffer size"
|
||||
default 256
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue