From 3d784c5d8c7d037e38159fc1753773a2e81aa43e Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Thu, 30 Jul 2020 23:22:32 +0200 Subject: Revert "Implement style configuration." This reverts commit 1ff687ca2b0821c2cacc1fa725abb3302d2af9da. --- commands/compose/detach.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'commands/compose/detach.go') diff --git a/commands/compose/detach.go b/commands/compose/detach.go index b48159d..e8b07ed 100644 --- a/commands/compose/detach.go +++ b/commands/compose/detach.go @@ -3,8 +3,10 @@ package compose import ( "fmt" "strings" + "time" "git.sr.ht/~sircmpwn/aerc/widgets" + "github.com/gdamore/tcell" ) type Detach struct{} @@ -42,7 +44,8 @@ func (Detach) Execute(aerc *widgets.Aerc, args []string) error { return err } - aerc.PushSuccess(fmt.Sprintf("Detached %s", path)) + aerc.PushStatus(fmt.Sprintf("Detached %s", path), 10*time.Second). + Color(tcell.ColorDefault, tcell.ColorGreen) return nil } -- cgit 1.4.1-2-gfad0