aboutsummaryrefslogtreecommitdiff
path: root/libbb/Config.in
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-05-17 16:44:54 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-05-17 16:44:54 +0200
commit020f40693a08b836abdea74f3823a0bce0378ec5 (patch)
tree4ae11c9b2156cccc1af8904c11c195b25b2886b0 /libbb/Config.in
parent071ede1e5de784820f39c2546000c08d74b12f6d (diff)
downloadbusybox-w32-020f40693a08b836abdea74f3823a0bce0378ec5.tar.gz
busybox-w32-020f40693a08b836abdea74f3823a0bce0378ec5.tar.bz2
busybox-w32-020f40693a08b836abdea74f3823a0bce0378ec5.zip
line editing: add an option to emit ESC [ 6 n and use results
This makes line editing able to recognize case when cursor was not at the beginning of the line. It may also be adapted later to find out display size (serial line users would love it). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/Config.in')
-rw-r--r--libbb/Config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/libbb/Config.in b/libbb/Config.in
index f5b804ff8..7ced387a9 100644
--- a/libbb/Config.in
+++ b/libbb/Config.in
@@ -102,6 +102,18 @@ config FEATURE_EDITING_FANCY_PROMPT
102 Setting this option allows for prompts to use things like \w and 102 Setting this option allows for prompts to use things like \w and
103 \$ and escape codes. 103 \$ and escape codes.
104 104
105config FEATURE_EDITING_ASK_TERMINAL
106 bool "Query cursor position from terminal"
107 default n
108 depends on FEATURE_EDITING
109 help
110 Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
111 current cursor position. This information is used to make line
112 editing more robust in some cases.
113 If you are not sure whether your terminals respond to this code
114 correctly, or want to save on code size (about 300 bytes),
115 then do not turn this option on.
116
105config FEATURE_VERBOSE_CP_MESSAGE 117config FEATURE_VERBOSE_CP_MESSAGE
106 bool "Give more precise messages when copy fails (cp, mv etc)" 118 bool "Give more precise messages when copy fails (cp, mv etc)"
107 default n 119 default n