mirror of
https://github.com/mudler/luet.git
synced 2025-06-26 15:34:40 +00:00
Send text to spinner if active
This commit is contained in:
parent
1f60d591d5
commit
adda44a752
@ -67,10 +67,10 @@ func msg(level string, msg ...interface{}) {
|
||||
|
||||
levelMsg = emoji.Sprint(levelMsg)
|
||||
|
||||
//if s.Active() {
|
||||
// SpinnerText(levelMsg, "")
|
||||
// return
|
||||
// }
|
||||
if s.Active() {
|
||||
SpinnerText(levelMsg, "")
|
||||
return
|
||||
}
|
||||
|
||||
cmd := []interface{}{}
|
||||
for _, f := range msg {
|
||||
|
Loading…
Reference in New Issue
Block a user