[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:
Also can we use words that if I search the lldb website, return something useful? I think "format string" would work.
https://github.com/llvm/llvm-project/pull/121860
More information about the lldb-commits
mailing list