-
CONFIG_SHELL_BACKSPACE_MODE_DELETE
¶
Default escape code for backspace is DELETE (0x7F)
Type: bool
Help¶
Terminals have different escape code settings for backspace button. Some terminals send code: 0x08 (backspace) other 0x7F (delete). When this option is set shell will expect 0x7F for backspace key.
Kconfig definition¶
At subsys/shell/Kconfig:32
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:26
Menu path: (top menu) → Shell Options → Enable shell
config SHELL_BACKSPACE_MODE_DELETE bool prompt "Default escape code for backspace is DELETE (0x7F)" ifSHELL
default "y" ifSHELL
depends onSHELL
help Terminals have different escape code settings for backspace button. Some terminals send code: 0x08 (backspace) other 0x7F (delete). When this option is set shell will expect 0x7F for backspace key.
(Definitions include propagated dependencies, including from if’s and menus.)