mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Widget text spacing
This commit is contained in:
committed by
Chris Cummer
parent
1404140b82
commit
42734a502c
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user