aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/detach.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/detach.go')
-rw-r--r--commands/compose/detach.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/compose/detach.go b/commands/compose/detach.go
index b48159d0..8bc0e887 100644
--- a/commands/compose/detach.go
+++ b/commands/compose/detach.go
@@ -3,6 +3,7 @@ package compose
import (
"fmt"
"strings"
+ "time"
"git.sr.ht/~sircmpwn/aerc/widgets"
)
@@ -42,7 +43,7 @@ func (Detach) Execute(aerc *widgets.Aerc, args []string) error {
return err
}
- aerc.PushSuccess(fmt.Sprintf("Detached %s", path))
+ aerc.PushSuccess(fmt.Sprintf("Detached %s", path), 10*time.Second)
return nil
}