From 23286900da2f38de6b7f0c8318263eac4ce774d1 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 25 Feb 2018 20:09:54 +0100 Subject: lineedit: allow window size tracking to be disabled function old new delta lineedit_read_key 269 261 -8 win_changed 47 - -47 read_line_input 3884 3821 -63 cmdedit_setwidth 63 - -63 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/2 up/down: 0/-181) Total: -181 bytes Signed-off-by: Ron Yorston Signed-off-by: Denys Vlasenko --- libbb/Config.src | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbb/Config.src') diff --git a/libbb/Config.src b/libbb/Config.src index 3c1b064b6..fdf8bbb28 100644 --- a/libbb/Config.src +++ b/libbb/Config.src @@ -149,6 +149,11 @@ config FEATURE_EDITING_FANCY_PROMPT Setting this option allows for prompts to use things like \w and \$ and escape codes. +config FEATURE_EDITING_WINCH + bool "Enable automatic tracking of window size changes" + default y + depends on FEATURE_EDITING + config FEATURE_EDITING_ASK_TERMINAL bool "Query cursor position from terminal" default n -- cgit v1.2.3