shell: Move default terminal width and height to Kconfig
Default values were fixed in the code. Moved to Kconfig to allow customized configuration. Custom configuration may be used to prevent line breaking injected on terminal width. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
5a3d44256e
commit
1fb61ea01e
5 changed files with 21 additions and 14 deletions
|
@ -15,11 +15,6 @@ extern "C" {
|
|||
|
||||
#define SHELL_MSG_SPECIFY_SUBCOMMAND "Please specify a subcommand.\n"
|
||||
|
||||
#define SHELL_DEFAULT_TERMINAL_WIDTH (80u) /* Default PuTTY width. */
|
||||
#define SHELL_DEFAULT_TERMINAL_HEIGHT (24u) /* Default PuTTY height. */
|
||||
|
||||
|
||||
|
||||
s32_t row_span_with_buffer_offsets_get(struct shell_multiline_cons *cons,
|
||||
u16_t offset1,
|
||||
u16_t offset2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue