1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Widget text spacing

This commit is contained in:
Chris Cummer
2018-04-06 21:55:44 -07:00
committed by Chris Cummer
parent 1404140b82
commit 42734a502c
7 changed files with 8 additions and 11 deletions

View File

@@ -62,8 +62,7 @@ func (widget *Widget) addView() {
}
func (widget *Widget) contentFrom(data map[string][]string) string {
str := "\n"
str = str + " [red]Branch[white]\n"
str := " [red]Branch[white]\n"
str = str + fmt.Sprintf(" %s", data["branch"][0])
str = str + "\n"
str = str + widget.formatChanges(data["changes"])