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 ifs and menus.)

Default

  • y

Kconfig definition

At subsys/shell/Kconfig:27

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:24

Menu path: (Top) → Shell

config SHELL_BACKSPACE_MODE_DELETE
    bool "Default escape code for backspace is DELETE (0x7F)"
    default y
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)