diff --git a/bar.go b/bar.go index 049dadf..c5b2980 100644 --- a/bar.go +++ b/bar.go @@ -13,10 +13,10 @@ var barTPL = ` {{if .ProgressCaption}} - {{.ProgressCaption}} + {{.ProgressCaption}} {{end}} {{if .Caption}} - {{.Caption}} + {{.Caption}} {{end}} ` diff --git a/battery.go b/battery.go index bdd6630..33d1c2b 100644 --- a/battery.go +++ b/battery.go @@ -18,10 +18,10 @@ var batteryTPL = ` {{end}} {{if .ProgressCaption}} - {{.ProgressCaption}} + {{.ProgressCaption}} {{end}} {{if .Caption}} - {{.Caption}} + {{.Caption}} {{end}} ` diff --git a/circular.go b/circular.go index e79d1e9..19d47a4 100644 --- a/circular.go +++ b/circular.go @@ -16,12 +16,12 @@ var circularTPL = ` {{if .ShowPercentage}} - {{.Progress}}% + {{.Progress}}% {{else}} - {{.Progress}} + {{.Progress}} {{end}} {{if .Caption}} - {{.Caption}} + {{.Caption}} {{end}} `