1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-21 09:22:17 -07:00

Add left-hand margin for IPInfo widget

This commit is contained in:
Chris Cummer
2018-06-02 21:42:01 -07:00
parent 332ce2a41e
commit d14e60a881

View File

@@ -125,5 +125,5 @@ func (widget *Widget) setResult(info *ipinfo) {
} }
func formatableText(key, value string) string { func formatableText(key, value string) string {
return fmt.Sprintf("[{{.nameColor}}]%s: [{{.valueColor}}]{{.%s}}\n", key, value) return fmt.Sprintf(" [{{.nameColor}}]%s: [{{.valueColor}}]{{.%s}}\n", key, value)
} }