aboutsummaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-09-13 22:48:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-09-13 22:48:30 +0200
commit8187e0143874e1bf0412263e716cf8c782a5aa16 (patch)
tree289b592b43a7226bbd355728798930c9ead45893 /libbb/lineedit.c
parent136946c3ea6a14d391b5045b5eb71fa8ec207077 (diff)
downloadbusybox-w32-8187e0143874e1bf0412263e716cf8c782a5aa16.tar.gz
busybox-w32-8187e0143874e1bf0412263e716cf8c782a5aa16.tar.bz2
busybox-w32-8187e0143874e1bf0412263e716cf8c782a5aa16.zip
*: use ESC define instead of "\033"; use ESC[m instead of ESC[0m
text data bss dec hex filename 922535 481 6832 929848 e3038 busybox_old 922534 481 6832 929847 e3037 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 0106093a1..17766a126 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -2868,7 +2868,7 @@ int main(int argc, char **argv)
2868#if ENABLE_FEATURE_EDITING_FANCY_PROMPT 2868#if ENABLE_FEATURE_EDITING_FANCY_PROMPT
2869 "\\[\\033[32;1m\\]\\u@\\[\\x1b[33;1m\\]\\h:" 2869 "\\[\\033[32;1m\\]\\u@\\[\\x1b[33;1m\\]\\h:"
2870 "\\[\\033[34;1m\\]\\w\\[\\033[35;1m\\] " 2870 "\\[\\033[34;1m\\]\\w\\[\\033[35;1m\\] "
2871 "\\!\\[\\e[36;1m\\]\\$ \\[\\E[0m\\]"; 2871 "\\!\\[\\e[36;1m\\]\\$ \\[\\E[m\\]";
2872#else 2872#else
2873 "% "; 2873 "% ";
2874#endif 2874#endif