Skip to content

Commit c10e26b

Browse files
authored
[lldb] Improve default statusline colors to work with more color schemes (#133315)
Use the reverse video [1] font effect (`${ansi.negative}`) as the default for the statusline. Inverting the foreground and background color has a better change as looking reasonably good, compared to picking an arbitrary color. [1] https://en.wikipedia.org/wiki/Reverse_video
1 parent 5b7fd70 commit c10e26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Core/CoreProperties.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ let Definition = "debugger" in {
178178
Desc<"Whether to show a statusline at the bottom of the terminal.">;
179179
def StatuslineFormat: Property<"statusline-format", "FormatEntity">,
180180
Global,
181-
DefaultStringValue<"${ansi.bg.blue}${ansi.fg.black}{${target.file.basename}}{ | ${line.file.basename}:${line.number}:${line.column}}{ | ${thread.stop-reason}}{ | {${progress.count} }${progress.message}}">,
181+
DefaultStringValue<"${ansi.negative}{${target.file.basename}}{ | ${line.file.basename}:${line.number}:${line.column}}{ | ${thread.stop-reason}}{ | {${progress.count} }${progress.message}}">,
182182
Desc<"The default statusline format string.">;
183183
def UseSourceCache: Property<"use-source-cache", "Boolean">,
184184
Global,

0 commit comments

Comments
 (0)