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