diff options
Diffstat (limited to 'pkg/gui/presentation/commit_files.go')
-rw-r--r-- | pkg/gui/presentation/commit_files.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/gui/presentation/commit_files.go b/pkg/gui/presentation/commit_files.go index 3b68b9eeb..6a351be48 100644 --- a/pkg/gui/presentation/commit_files.go +++ b/pkg/gui/presentation/commit_files.go @@ -9,7 +9,7 @@ import ( ) func GetCommitFileLine(name string, diffName string, commitFile *models.CommitFile, status patch.PatchStatus) string { - colour := theme.DefaultTextColor + var colour style.TextStyle if diffName == name { colour = theme.DiffTerminalColor } else { @@ -18,6 +18,8 @@ func GetCommitFileLine(name string, diffName string, commitFile *models.CommitFi colour = style.FgGreen case patch.PART: colour = style.FgYellow + case patch.UNSELECTED: + colour = theme.DefaultTextColor } } |