hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit e9e729bfa6a766fd422dcf6f676147059b634820
parent 43c8f39324974439e06812a0c8f745cc06cfb419
Author: Alexey Yerin <yyp@disroot.org>
Date:   Mon, 21 Feb 2022 20:43:29 +0300

cmd/hare: clear progress indicator after build finishes

Signed-off-by: Alexey Yerin <yyp@disroot.org>

Diffstat:
Mcmd/hare/plan.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/hare/plan.ha b/cmd/hare/plan.ha @@ -221,7 +221,7 @@ fn plan_execute(plan: *plan, verbose: bool) (void | !exec::exit_status) = { match (term) { case let term: io::file => - fmt::fprintln(term)!; + fmt::fprint(term, "\r\x1b[K")!; case => void; };