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 <Zephyr>/subsys/shell/Kconfig:50

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:45

Menu path: (Top) → Sub Systems and OS Services → 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.)