[Lldb-commits] PATCH for REVIEW: parse ansi color codes for prompt, add use color settings

Mike Sartain mikesart at valvesoftware.com
Thu May 23 13:25:13 PDT 2013


_______________________________________
From: Malea, Daniel [daniel.malea at intel.com]

> Color code looks OK to me. I was able to build it and can verify no
> regressions in the test suite with GCC 4.7.3.
> 
> Out of curiosity, do you have an example of the prompt-string that needs
> to be set in order to get some colours to show up?

I've got this in my .lldbinit file. Is that what you're looking for?

settings set prompt "${ansi.bold}${ansi.fg.green}(lldb)${ansi.normal} "



More information about the lldb-commits mailing list