[Lldb-commits] [lldb] [llvm] [lldb] Support OSC escape codes for native progress (PR #162162)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 7 10:59:46 PDT 2025


================
@@ -2066,19 +2066,23 @@ void Debugger::CancelForwardEvents(const ListenerSP &listener_sp) {
   m_forward_listener_sp.reset();
 }
 
+bool Debugger::IsInteractiveColorTTY() {
----------------
adrian-prantl wrote:

I think this method conflates several things that are orthogonal to each other.
What do you think about having a GetTTYProperties() that returns a `eInteractive | eHasColor | eHasUnicode | ...`. Franky, I don't understand the nuance between IsInteractive and IsRealTerminal but it presumably matters for something?

https://github.com/llvm/llvm-project/pull/162162


More information about the lldb-commits mailing list