1
0
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:
Chris Cummer 2018-04-18 09:09:24 -07:00
parent 44ccf8e55a
commit 6bf98c6a03

View File

@ -14,7 +14,8 @@ func (widget *Widget) display() {
title := fmt.Sprintf("[green]%s[white]\n", repoData.Repository)
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 + "\n"
str = str + widget.formatChanges(repoData.ChangedFiles)