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 {
228
228
def ShowStatusline: Property<"show-statusline", "Boolean">,
229
229
Global,
230
230
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) .">;
232
232
def Separator : Property<"separator", "String">,
233
233
Global,
234
234
DefaultStringValue<"│ ">,
Original file line number Diff line number Diff line change @@ -2040,13 +2040,17 @@ void Debugger::CancelForwardEvents(const ListenerSP &listener_sp) {
2040
2040
}
2041
2041
2042
2042
bool 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
2043
2046
if (GetShowStatusline ()) {
2044
2047
if (lldb::LockableStreamFileSP stream_sp = GetOutputStreamSP ()) {
2045
2048
File &file = stream_sp->GetUnlockedFile ();
2046
2049
return file.GetIsInteractive () && file.GetIsRealTerminal () &&
2047
2050
file.GetIsTerminalWithColors ();
2048
2051
}
2049
2052
}
2053
+ #endif
2050
2054
return false ;
2051
2055
}
2052
2056
You can’t perform that action at this time.
0 commit comments