mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Multi-Git, now with tick marks
This commit is contained in:
parent
44ccf8e55a
commit
6bf98c6a03
@ -14,7 +14,8 @@ func (widget *Widget) display() {
|
|||||||
title := fmt.Sprintf("[green]%s[white]\n", repoData.Repository)
|
title := fmt.Sprintf("[green]%s[white]\n", repoData.Repository)
|
||||||
widget.View.SetTitle(fmt.Sprintf(" Git: %s ", title))
|
widget.View.SetTitle(fmt.Sprintf(" Git: %s ", title))
|
||||||
|
|
||||||
str := " [red]Branch[white]\n"
|
str := widget.tickMarks(widget.Data) + "\n"
|
||||||
|
str = str + " [red]Branch[white]\n"
|
||||||
str = str + fmt.Sprintf(" %s", repoData.Branch)
|
str = str + fmt.Sprintf(" %s", repoData.Branch)
|
||||||
str = str + "\n"
|
str = str + "\n"
|
||||||
str = str + widget.formatChanges(repoData.ChangedFiles)
|
str = str + widget.formatChanges(repoData.ChangedFiles)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user