The latest development version of this page may be more current than this released 1.14.1 version.
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.

Direct dependencies

SHELL

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/shell/Kconfig:32

Included via Kconfig:10Kconfig.zephyr:39subsys/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)" if SHELL
    default "y" if SHELL
    depends on SHELL
    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.)