From 7740ec815ec71276efb4688b262ed9e9a5a1e4d9 Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Sat, 27 Jun 2020 21:40:40 +0200 Subject: [PATCH] Aligns current weather conditions with forecast --- share/we-lang/we-lang.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/we-lang/we-lang.go b/share/we-lang/we-lang.go index 8837a5e..0ae9cbd 100644 --- a/share/we-lang/we-lang.go +++ b/share/we-lang/we-lang.go @@ -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 {