diff --git a/job.go b/job.go index 478396a..223683e 100644 --- a/job.go +++ b/job.go @@ -973,16 +973,15 @@ func jobVaultStatus(j Job) { } if currentUserID64 != 0 { //display info - out := fmt.Sprintf(`Item | Dep. | Rcv. | Total\n` + - `-------------------------------------------------------------\n`) + out := fmt.Sprintf("
%-28s | Dep. | Rcv. | Total\n-------------------------------------------------
\n") for i, itemId := range itemList { item, err := getObjItem(itemId) logOnError(err, "jobVaultStatus : getObjItem") - out = fmt.Sprintf("%s%-34s|%-5d |%-5d |", out, item.Name, depositList[i], withdrawList[i]) + out = fmt.Sprintf("%s
%-28s |%-5d |%-5d |", out, item.Name, depositList[i], withdrawList[i])
 			if (depositList[i] - withdrawList[i]) >= 0 {
-				out = fmt.Sprintf("%s%-5d\n", out, depositList[i]-withdrawList[i])
+				out = fmt.Sprintf("%s%-5d
\n", out, depositList[i]-withdrawList[i]) } else { - out = fmt.Sprintf("%s
%-5d
\n", out, depositList[i]-withdrawList[i]) + out = fmt.Sprintf("%s%-5d\n", out, depositList[i]-withdrawList[i]) } } log.Printf("Vault Status :\n%s", out)