Aligns current weather conditions with forecast

pull/488/head
Alexander Yastrebov 4 years ago
parent 0262b817e9
commit 7740ec815e

@ -1169,11 +1169,11 @@ func main() {
out := formatCond(make([]string, 5), r.Data.Cur[0], true) out := formatCond(make([]string, 5), r.Data.Cur[0], true)
for _, val := range out { for _, val := range out {
if config.RightToLeft { if config.RightToLeft {
space := strings.Repeat(" ", 93) fmt.Fprint(stdout, strings.Repeat(" ", 94))
fmt.Fprintln(stdout, space, val)
} else { } else {
fmt.Fprintln(stdout, val) fmt.Fprint(stdout, " ")
} }
fmt.Fprintln(stdout, val)
} }
if config.Numdays == 0 { if config.Numdays == 0 {

Loading…
Cancel
Save