aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/syncinstall.nim2
-rw-r--r--src/feature/syncsource.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/syncinstall.nim b/src/feature/syncinstall.nim
index 0a9170d..ccf9a91 100644
--- a/src/feature/syncinstall.nim
+++ b/src/feature/syncinstall.nim
@@ -42,7 +42,7 @@ proc createCloneProgress(config: Config, count: int, flexible: bool, printMode:
(proc (update: int, terminate: int) {.closure.}, proc {.closure.}) =
if count >= 1 and not printMode:
let (update, terminate) = printProgressShare(config.common.progressBar,
- tr"cloning repositories")
+ config.common.chomp, tr"cloning repositories")
update(0, count)
if flexible:
diff --git a/src/feature/syncsource.nim b/src/feature/syncsource.nim
index 09e9c6d..6ec082c 100644
--- a/src/feature/syncsource.nim
+++ b/src/feature/syncsource.nim
@@ -133,7 +133,7 @@ proc cloneAndCopy(config: Config, quiet: bool, fullTargets: seq[FullPackageTarge
(proc (a: int, b: int) {.closure, sideEffect.} = discard,
proc () {.closure, sideEffect.} = discard)
else:
- printProgressShare(config.common.progressBar, tr"cloning repositories")
+ printProgressShare(config.common.progressBar, config.common.chomp, tr"cloning repositories")
let (results, rerrors) = cloneRepositories(config, baseTargets, update)
terminate()