CONFIG_SHELL_CMDS_RESIZE

Enable resize command

Type: bool

Help

By default shell assumes width of a terminal screen set to 80 characters. Each time terminal screen width is changed resize command must be called to ensure correct text display on the terminal screen. The resize command can be turned off to save code memory (~0,5k).

Direct dependencies

SHELL_CMDS && SHELL

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/shell/Kconfig:124

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

Menu path: (Top) → Shell → Enable built-in commands

config SHELL_CMDS_RESIZE
    bool "Enable resize command"
    default y
    depends on SHELL_CMDS && SHELL
    help
      By default shell assumes width of a terminal screen set to 80
      characters. Each time terminal screen width is changed resize command
      must be called to ensure correct text display on the terminal screen.
      The resize command can be turned off to save code memory (~0,5k).

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