Skip to content

Commit a62b9b3

Browse files
committed
[lldb] Calling Debugger::SetStatuslineFormat should redraw the statusline
1 parent 27bc8a1 commit a62b9b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/source/Core/Debugger.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,9 @@ const FormatEntity::Entry *Debugger::GetStatuslineFormat() const {
486486

487487
bool Debugger::SetStatuslineFormat(const FormatEntity::Entry &format) {
488488
constexpr uint32_t idx = ePropertyStatuslineFormat;
489-
return SetPropertyAtIndex(idx, format);
489+
bool ret = SetPropertyAtIndex(idx, format);
490+
RedrawStatusline();
491+
return ret;
490492
}
491493

492494
bool Debugger::GetUseAutosuggestion() const {

0 commit comments

Comments
 (0)