canonical / craft-cli

https://canonical-craft-cli.readthedocs-hosted.com/en/latest/
GNU Lesser General Public License v3.0
9 stars 15 forks source link

In "streaming brief" mode, `emit.message()` should clean the progress prefix #202

Closed tigarmo closed 9 months ago

tigarmo commented 10 months ago

Bug Description

If I call emit.progress("Hi") and then emit.message("Done!"), the text that is actually shown is Hi :: Done!.

To Reproduce

Something like:

emit.progress("Hi", permanent=False)
emit.message("Done!")

part yaml

n/a

Relevant log output

n/a