The latest development version of this page may be more current than this released 2.7.5 version.

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_VT100_COMMANDS && SHELL

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At subsys/shell/Kconfig:201

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

Menu path: (Top) → Sub Systems and OS Services → Shell → Enable built-in commands

config SHELL_CMDS_RESIZE
    bool "Enable resize command"
    default y if !SHELL_MINIMAL
    depends on SHELL_CMDS && SHELL_VT100_COMMANDS && 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.)