Show commits outside the bisect range in faint text

While bisecting, the hashes of the commits outside the bisect range are
black. On a dark gray background this makes them recede, but on a black
one they are invisible, and on a light one they stand out more than any
other hash.

Draw them in faint text instead. The terminal shades faint text toward
its background, whatever that is.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Stefan Haller
2026-09-27 08:16:06 +02:00
co-authored by Claude Opus 5.5
parent 8e1f652a35
commit 34c86efc67
+1 -1
View File
@@ -538,7 +538,7 @@ func displayCommit(
func getBisectStatusColor(status BisectStatus) style.TextStyle {
switch status {
case BisectStatusNone:
return style.FgBlack
return theme.DefaultTextColor.SetDim()
case BisectStatusNew:
return style.FgRed
case BisectStatusOld: