================
@@ -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<"List of statusline format entities.">;
----------------
DavidSpickett wrote:
How does someone discover what format entities are and what they can choose
from?
The website search doesn't find anything but Google points me to
https://lldb.llvm.org/use/variable.html. Are they the same thing?
Obviously we wouldn't list them in this option description but if we have
another option or command that does use them and does talk about them already,
we could reference that.
Otherwise we don't have a good answer to "is there a format entity for X", just
like we get asked "is there an API for Y", because finding API calls can be
tricky if you don't know the project already.
https://github.com/llvm/llvm-project/pull/121860
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits