Skip to content

Commit 441f6a5

Browse files
committed
[lldb] Calling Debugger::SetStatuslineFormat should redraw the statusline
(cherry picked from commit a62b9b3)
1 parent 910fea7 commit 441f6a5

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
@@ -482,7 +482,9 @@ const FormatEntity::Entry *Debugger::GetStatuslineFormat() const {
482482

483483
bool Debugger::SetStatuslineFormat(const FormatEntity::Entry &format) {
484484
constexpr uint32_t idx = ePropertyStatuslineFormat;
485-
return SetPropertyAtIndex(idx, format);
485+
bool ret = SetPropertyAtIndex(idx, format);
486+
RedrawStatusline();
487+
return ret;
486488
}
487489

488490
bool Debugger::GetUseAutosuggestion() const {

0 commit comments

Comments
 (0)