Merge pull request #488 from AlexanderYastrebov/align-current

Aligns current weather conditions with forecast
pull/495/head
Igor Chubin 4 years ago committed by GitHub
commit b475d5521f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save