[Lldb-commits] [lldb] [lldb] Implement a statusline in LLDB (PR #121860)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 11 04:21:42 PDT 2025


================
@@ -172,6 +172,14 @@ let Definition = "debugger" in {
     Global,
     DefaultStringValue<"${ansi.normal}">,
     Desc<"When displaying progress in a color-enabled terminal, use the ANSI terminal code specified in this format immediately after the progress message.">;
+  def ShowStatusline: Property<"show-statusline", "Boolean">,
+    Global,
+    DefaultTrue,
+    Desc<"Whether to show a statusline at the bottom of the terminal.">;
+  def StatuslineFormat: Property<"statusline-format", "FormatEntity">,
+    Global,
+    DefaultStringValue<"${ansi.bg.blue}${ansi.fg.black}{${target.file.basename}}{ | ${line.file.basename}:${line.number}:${line.column}}{ | ${thread.stop-reason}}{ | {${progress.count} }${progress.message}}">,
+    Desc<"The default statusline format string.">;
----------------
DavidSpickett wrote:

"the default" implies that there is some other setting to change the format string, when in reality this is the one you change. It has a default value though of course.

https://github.com/llvm/llvm-project/pull/121860


More information about the lldb-commits mailing list