From bc7a618b0772d3b47e5df27462694cc320b6a71f Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Thu, 1 Apr 2021 01:30:03 +0300 Subject: [PATCH] Minor UI fixes --- cli/cli.go | 2 +- render/renderer_terminal.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index d54982d1..66c18905 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -37,7 +37,7 @@ import ( // Application info const ( APP = "bibop" - VER = "4.6.0" + VER = "4.6.1" DESC = "Utility for testing command-line tools" ) diff --git a/render/renderer_terminal.go b/render/renderer_terminal.go index e4c629f5..90ab0f9d 100644 --- a/render/renderer_terminal.go +++ b/render/renderer_terminal.go @@ -96,7 +96,7 @@ func (rr *TerminalRenderer) ActionStarted(a *recipe.Action) { } rr.renderTmpMessage( - " {s-}┖─{!} {s~-}● {!}"+rr.formatActionName(a)+" {s}%s{!} {s-}[%s]{!}", + " {s-}└─{!} {s~-}● {!}"+rr.formatActionName(a)+" {s}%s{!} {s-}[%s]{!}", rr.formatActionArgs(a), rr.formatDuration(time.Since(rr.start), false), ) @@ -105,7 +105,7 @@ func (rr *TerminalRenderer) ActionStarted(a *recipe.Action) { // ActionFailed prints info about failed action func (rr *TerminalRenderer) ActionFailed(a *recipe.Action, err error) { rr.renderTmpMessage( - " {s-}┖─{!} {r}✖ {!}"+rr.formatActionName(a)+" {s}%s{!}", + " {s-}└─{!} {r}✖ {!}"+rr.formatActionName(a)+" {s}%s{!}", rr.formatActionArgs(a), ) @@ -120,12 +120,12 @@ func (rr *TerminalRenderer) ActionFailed(a *recipe.Action, err error) { func (rr *TerminalRenderer) ActionDone(a *recipe.Action, isLast bool) { if isLast { rr.renderTmpMessage( - " {s-}┖─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}", + " {s-}└─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}", rr.formatActionArgs(a), ) } else { rr.renderTmpMessage( - " {s-}┠─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}", + " {s-}├─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}", rr.formatActionArgs(a), ) }