[Lldb-commits] [lldb] [lldb] Implement a statusline in LLDB (PR #121860)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 7 06:02:04 PST 2025
================
@@ -243,6 +243,19 @@ Status Debugger::SetPropertyValue(const ExecutionContext *exe_ctx,
// Prompt colors changed. Ping the prompt so it can reset the ansi
// terminal codes.
SetPrompt(GetPrompt());
+ } else if (property_path ==
+ g_debugger_properties[ePropertyShowStatusline].name) {
+ // Statusline setting changed. If we have a statusline instance, update it
+ // now. Otherwise it will get created in the default event handler.
----------------
DavidSpickett wrote:
This implies that if I had a messed up status line, setting the setting to true again would force a refresh, is that the case?
Perhaps this only gets called if the value changes.
https://github.com/llvm/llvm-project/pull/121860
More information about the lldb-commits
mailing list