File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -682,7 +682,7 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
682682 lldb::LockableStreamFileSP GetErrorStreamSP () { return m_error_stream_sp; }
683683 // / @}
684684
685- bool IsInteractiveColorTTY ();
685+ bool IsEscapeCodeCapableTTY ();
686686 bool StatuslineSupported ();
687687
688688 void PushIOHandler (const lldb::IOHandlerSP &reader_sp,
Original file line number Diff line number Diff line change @@ -2066,7 +2066,7 @@ void Debugger::CancelForwardEvents(const ListenerSP &listener_sp) {
20662066 m_forward_listener_sp.reset ();
20672067}
20682068
2069- bool Debugger::IsInteractiveColorTTY () {
2069+ bool Debugger::IsEscapeCodeCapableTTY () {
20702070 if (lldb::LockableStreamFileSP stream_sp = GetOutputStreamSP ()) {
20712071 File &file = stream_sp->GetUnlockedFile ();
20722072 return file.GetIsInteractive () && file.GetIsRealTerminal () &&
@@ -2079,7 +2079,7 @@ bool Debugger::StatuslineSupported() {
20792079// We have trouble with the contol codes on Windows, see
20802080// https://github.com/llvm/llvm-project/issues/134846.
20812081#ifndef _WIN32
2082- return GetShowStatusline () && IsInteractiveColorTTY ();
2082+ return GetShowStatusline () && IsEscapeCodeCapableTTY ();
20832083#else
20842084 return false ;
20852085#endif
@@ -2294,7 +2294,7 @@ void Debugger::HandleProgressEvent(const lldb::EventSP &event_sp) {
22942294 }
22952295
22962296 // Show progress using Operating System Command (OSC) sequences.
2297- if (GetShowProgress () && IsInteractiveColorTTY ()) {
2297+ if (GetShowProgress () && IsEscapeCodeCapableTTY ()) {
22982298 if (lldb::LockableStreamFileSP stream_sp = GetOutputStreamSP ()) {
22992299
23002300 // Clear progress if this was the last progress event.
You can’t perform that action at this time.
0 commit comments