This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Add a setting to change the progress ANSI escape codes
ClosedPublic

Authored by JDevlieghere on Mar 5 2022, 4:08 PM.

Details

Summary

Add a setting to change how progress is shown in a color enabled terminal. This follows the existing -prefix, -suffix pattern that's used elsewhere in lldb.

Diff Detail

Event Timeline

JDevlieghere created this revision.Mar 5 2022, 4:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 5 2022, 4:08 PM
JDevlieghere requested review of this revision.Mar 5 2022, 4:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 5 2022, 4:08 PM

ShowProgress{Prefix,Suffix} -> ShowProgressAnsi{Prefix,Suffix}

JDevlieghere retitled this revision from [lldb] Add a setting to change the progress color to [lldb] Add a setting to change the progress ANSI escape codes.

Fix copy/paste error in the help

aprantl accepted this revision.Mar 8 2022, 5:08 PM
aprantl added inline comments.
lldb/source/Core/CoreProperties.td
141

I would remove the "(i.e. ANSI)" comment.

This revision is now accepted and ready to land.Mar 8 2022, 5:08 PM
This revision was landed with ongoing or failed builds.Mar 8 2022, 6:27 PM
This revision was automatically updated to reflect the committed changes.