shell: tab feature optimization
Add options to Kconfig that deactivate the Tab button and autocompletion feature. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
572d2b02a2
commit
de7e208d8d
2 changed files with 34 additions and 2 deletions
|
@ -65,6 +65,22 @@ config SHELL_ARGC_MAX
|
|||
help
|
||||
Maximum number of arguments that can build a command.
|
||||
|
||||
config SHELL_TAB
|
||||
bool "Enable the Tab button supporort in shell"
|
||||
default y
|
||||
help
|
||||
Enable using the Tab button in the shell. The button
|
||||
can be used for prompting commands, or for autocompletion.
|
||||
This feature has high impact on flash usage.
|
||||
|
||||
config SHELL_TAB_AUTOCOMPLETION
|
||||
bool "Enable commands autocompletion with the Tab button"
|
||||
depends on SHELL_TAB
|
||||
default y
|
||||
help
|
||||
Enable commands and subcommands autocompletion with the Tab
|
||||
key. This function can be deactivated to save some flash.
|
||||
|
||||
config SHELL_WILDCARD
|
||||
bool "Enable wildcard support in shell"
|
||||
select FNMATCH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue