This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Support "bright" ANSI colors
ClosedPublic

Authored by JDevlieghere on Mar 7 2022, 9:05 AM.

Details

Summary

Support ANSI escape codes for bright colors variants. Most modern terminals support them. Still LLDB is not using them by default and there's only there for people who want to modify their preferred ANSI prefix/suffix.

Diff Detail

Event Timeline

JDevlieghere created this revision.Mar 7 2022, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 9:05 AM
JDevlieghere requested review of this revision.Mar 7 2022, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 9:05 AM

Adding @aprantl as a reviewer because he also likes colors.

clayborg accepted this revision.Mar 7 2022, 11:44 AM
This revision is now accepted and ready to land.Mar 7 2022, 11:44 AM
This revision was automatically updated to reflect the committed changes.
aprantl added inline comments.Mar 8 2022, 1:20 PM
lldb/include/lldb/Utility/AnsiTerminal.h
12

Nice! Should we convert this to enums?