[Lldb-commits] [lldb] a62b9b3 - [lldb] Calling Debugger::SetStatuslineFormat should redraw the statusline

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 10 16:56:11 PDT 2025


Author: Jonas Devlieghere
Date: 2025-04-10T16:55:59-07:00
New Revision: a62b9b387fab85ae8ad63992b002c333069d87ae

URL: https://github.com/llvm/llvm-project/commit/a62b9b387fab85ae8ad63992b002c333069d87ae
DIFF: https://github.com/llvm/llvm-project/commit/a62b9b387fab85ae8ad63992b002c333069d87ae.diff

LOG: [lldb] Calling Debugger::SetStatuslineFormat should redraw the statusline

Added: 
    

Modified: 
    lldb/source/Core/Debugger.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index bfec1fa64ea52..e65d71ddf6960 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -486,7 +486,9 @@ const FormatEntity::Entry *Debugger::GetStatuslineFormat() const {
 
 bool Debugger::SetStatuslineFormat(const FormatEntity::Entry &format) {
   constexpr uint32_t idx = ePropertyStatuslineFormat;
-  return SetPropertyAtIndex(idx, format);
+  bool ret = SetPropertyAtIndex(idx, format);
+  RedrawStatusline();
+  return ret;
 }
 
 bool Debugger::GetUseAutosuggestion() const {


        


More information about the lldb-commits mailing list