[Lldb-commits] [PATCH] D51243: Disable use-color if the output stream is not a terminal with color support.

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 24 17:13:50 PDT 2018


aprantl added inline comments.


================
Comment at: source/Core/Debugger.cpp:805
   const char *term = getenv("TERM");
   if (term && !strcmp(term, "dumb"))
     SetUseColor(false);
----------------
aprantl wrote:
> Shouldn't this check be obsolete now?
You can probably test that by running env TERM=dumb lldb 


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51243





More information about the lldb-commits mailing list