From 9a0e0291355bc39ff1d02f026ce666765e41d7f7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 30 Jan 2020 18:37:48 -0500 Subject: [PATCH] Fix output truncation & indentation on 'doom update' --- core/cli/packages.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/cli/packages.el b/core/cli/packages.el index 36295dfe5..8f42785df 100644 --- a/core/cli/packages.el +++ b/core/cli/packages.el @@ -212,8 +212,9 @@ declaration) or dependency thereof that hasn't already been." (puthash local-repo t repos-to-rebuild) (puthash package t packages-to-rebuild) (unless (string-empty-p output) - (print-group! (print! (info "%s" output)))) - (print! (success "(%d/%d) %s updated (%s -> %s)") + (print! (start "\033[K(%d/%d) Updating %s...") i total local-repo) + (print-group! (print! "%s" output))) + (print! (success "\033[K(%d/%d) %s updated (%s -> %s)") i total local-repo (doom--abbrev-commit ref) (doom--abbrev-commit target-ref)))