diff options
Diffstat (limited to 'commands/msg/copy.go')
-rw-r--r-- | commands/msg/copy.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/msg/copy.go b/commands/msg/copy.go index 30022f18..c2f79c6f 100644 --- a/commands/msg/copy.go +++ b/commands/msg/copy.go @@ -6,7 +6,6 @@ import ( "time" "git.sr.ht/~sircmpwn/getopt" - "github.com/gdamore/tcell" "git.sr.ht/~sircmpwn/aerc/commands" "git.sr.ht/~sircmpwn/aerc/widgets" @@ -61,8 +60,7 @@ func (Copy) Execute(aerc *widgets.Aerc, args []string) error { case *types.Done: aerc.PushStatus("Messages copied.", 10*time.Second) case *types.Error: - aerc.PushStatus(" "+msg.Error.Error(), 10*time.Second). - Color(tcell.ColorDefault, tcell.ColorRed) + aerc.PushError(" "+msg.Error.Error()) } }) return nil |