This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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:42subsys/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.)