File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ let Definition = "debugger" in {
228228 def ShowStatusline: Property<"show-statusline", "Boolean">,
229229 Global,
230230 DefaultTrue,
231- Desc<"Whether to show a statusline at the bottom of the terminal.">;
231+ Desc<"Whether to show a statusline at the bottom of the terminal (not supported on Windows) .">;
232232 def Separator : Property<"separator", "String">,
233233 Global,
234234 DefaultStringValue<"│ ">,
Original file line number Diff line number Diff line change @@ -2040,13 +2040,17 @@ void Debugger::CancelForwardEvents(const ListenerSP &listener_sp) {
20402040}
20412041
20422042bool Debugger::StatuslineSupported () {
2043+ // We have trouble with the contol codes on Windows, see
2044+ // https://github.com/llvm/llvm-project/issues/134846.
2045+ #ifndef _WIN32
20432046 if (GetShowStatusline ()) {
20442047 if (lldb::LockableStreamFileSP stream_sp = GetOutputStreamSP ()) {
20452048 File &file = stream_sp->GetUnlockedFile ();
20462049 return file.GetIsInteractive () && file.GetIsRealTerminal () &&
20472050 file.GetIsTerminalWithColors ();
20482051 }
20492052 }
2053+ #endif
20502054 return false ;
20512055}
20522056
You can’t perform that action at this time.
0 commit comments