summaryrefslogtreecommitdiffstats
path: root/pkg/commands/commit.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-02-16 15:17:44 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-02-16 15:17:44 +1100
commitad93b4c863dfaa6a1cb6bb740d0dba87fef14404 (patch)
tree125d6bf54cdbf582d689cfe62e630866d7fc2a8e /pkg/commands/commit.go
parent198cbee498e9201b1f12514f909eb3da98db5ec7 (diff)
consider whether the view has focus when rendering the contents of a view
Diffstat (limited to 'pkg/commands/commit.go')
-rw-r--r--pkg/commands/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/commit.go b/pkg/commands/commit.go
index 6ee972f9f..6ae6acd02 100644
--- a/pkg/commands/commit.go
+++ b/pkg/commands/commit.go
@@ -13,7 +13,7 @@ type Commit struct {
}
// GetDisplayStrings is a function.
-func (c *Commit) GetDisplayStrings() []string {
+func (c *Commit) GetDisplayStrings(isFocused bool) []string {
red := color.New(color.FgRed)
yellow := color.New(color.FgYellow)
green := color.New(color.FgGreen)