mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
consider whether the view has focus when rendering the contents of a view
This commit is contained in:
parent
198cbee498
commit
ad93b4c863
15 changed files with 72 additions and 26 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue