mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
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 <me@jedevc.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user