about summary refs log tree commit diff stats
path: root/commands/compose/detach.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/detach.go')
-rw-r--r--commands/compose/detach.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/compose/detach.go b/commands/compose/detach.go
index 8bc0e88..e8b07ed 100644
--- a/commands/compose/detach.go
+++ b/commands/compose/detach.go
@@ -6,6 +6,7 @@ import (
 	"time"
 
 	"git.sr.ht/~sircmpwn/aerc/widgets"
+	"github.com/gdamore/tcell"
 )
 
 type Detach struct{}
@@ -43,7 +44,8 @@ func (Detach) Execute(aerc *widgets.Aerc, args []string) error {
 		return err
 	}
 
-	aerc.PushSuccess(fmt.Sprintf("Detached %s", path), 10*time.Second)
+	aerc.PushStatus(fmt.Sprintf("Detached %s", path), 10*time.Second).
+		Color(tcell.ColorDefault, tcell.ColorGreen)
 
 	return nil
 }