Author: Shu Anzai Date: 2020-07-28T11:06:45-07:00 New Revision: 5608f28f552793d115a7f8682559ab053f961924
URL: https://github.com/llvm/llvm-project/commit/5608f28f552793d115a7f8682559ab053f961924 DIFF: https://github.com/llvm/llvm-project/commit/5608f28f552793d115a7f8682559ab053f961924.diff LOG: [lldb] Change the definition of ANSI_UNFAINT Change the definition of ANSI_UNFAINT in Editline.cpp. Differential revision: https://reviews.llvm.org/D84695 Added: Modified: lldb/source/Host/common/Editline.cpp Removed: ################################################################################ diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp index 226e638aba25..49b7a38d8dae 100644 --- a/lldb/source/Host/common/Editline.cpp +++ b/lldb/source/Host/common/Editline.cpp @@ -48,9 +48,12 @@ int setupterm(char *term, int fildes, int *errret); // understand the relationship between DisplayInput(), MoveCursor(), // SetCurrentLine(), and SaveEditedLine() before making changes. +/// https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf #define ESCAPE "\x1b" +/// Faint, decreased intensity or second colour. #define ANSI_FAINT ESCAPE "[2m" -#define ANSI_UNFAINT ESCAPE "[22m" +/// Normal colour or normal intensity (neither bold nor faint). +#define ANSI_UNFAINT ESCAPE "[0m" #define ANSI_CLEAR_BELOW ESCAPE "[J" #define ANSI_CLEAR_RIGHT ESCAPE "[K" #define ANSI_SET_COLUMN_N ESCAPE "[%dG" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits