From b9aad03e7a24bc27e84a0bc90bd425f57452a3da Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Sun, 10 Sep 2023 23:49:08 +0100 Subject: [PATCH] progress: create new display object after unpause Without this, we attempt to overwrite the previous display in the lines above which have been filled with logs from the monitor (see when used with `--invoke`). Signed-off-by: Justin Chadwell --- util/progress/printer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/progress/printer.go b/util/progress/printer.go index 9d7cd69a65a..25a0d28492e 100644 --- a/util/progress/printer.go +++ b/util/progress/printer.go @@ -124,6 +124,8 @@ func NewPrinter(ctx context.Context, out console.File, mode progressui.DisplayMo pw.ready = make(chan struct{}) <-pw.paused pw.paused = nil + + d, _ = progressui.NewDisplay(out, mode, opt.displayOpts...) } }() <-pw.ready