From 855ba8396725812bee2bf975423700280d3044b1 Mon Sep 17 00:00:00 2001 From: j-james Date: Wed, 23 Dec 2020 12:52:52 -0800 Subject: Add support for pacman's progress bar Easter egg --- src/feature/syncsource.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/syncsource.nim') diff --git a/src/feature/syncsource.nim b/src/feature/syncsource.nim index f966085..f16f7c6 100644 --- a/src/feature/syncsource.nim +++ b/src/feature/syncsource.nim @@ -130,7 +130,7 @@ proc cloneAndCopy(config: Config, quiet: bool, fullTargets: seq[FullPackageTarge newSeq[BaseTarget]()) let (update, terminate) = if not quiet: - printProgressShare(config.common.progressBar, tr"cloning repositories") + printProgressShare(config.common.progressBar, config.common.chomp, tr"cloning repositories") else: (proc (i0: int, i1: int) {.sideEffect,closure.} = discard, proc () {.sideEffect,closure.} = discard) -- cgit v1.2.3-70-g09d2