aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/status.go b/ui/status.go
index f5425b4..09bce25 100644
--- a/ui/status.go
+++ b/ui/status.go
@@ -79,7 +79,7 @@ func FormatStatus(status string) string {
// very short name I know
func CreateStatusUpdateConfirmationMessage(title, status, prevStatus string) string {
if prevStatus != "" {
- return fmt.Sprintf("\x1b[35m%s\x1b[0m Status :: %s%s\x1b[0m -> %s%s\x1b[0m", title, GetColorCodeByStatus(status), FormatStatus(status), GetColorCodeByStatus(prevStatus), FormatStatus(prevStatus))
+ return fmt.Sprintf("\x1b[35m%s\x1b[0m Status :: %s%s\x1b[0m -> %s%s\x1b[0m", title, GetColorCodeByStatus(prevStatus), FormatStatus(prevStatus), GetColorCodeByStatus(status), FormatStatus(status))
}
return "\x1b[35m" + title + "\x1b[0m Status :: " + GetColorCodeByStatus(status) + FormatStatus(status) + "\x1b[0m"
}