From 2958579ee75359dacfabb6d1b36664468011113c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 30 Mar 2019 13:05:00 -0400 Subject: Correct color of error messages --- widgets/account.go | 2 +- widgets/aerc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/account.go b/widgets/account.go index dd779b3..f26d838 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -185,6 +185,6 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { case *types.Error: acct.logger.Printf("%v", msg.Error) acct.host.SetStatus(fmt.Sprintf("%v", msg.Error)). - Color(tcell.ColorRed, tcell.ColorDefault) + Color(tcell.ColorDefault, tcell.ColorRed) } } diff --git a/widgets/aerc.go b/widgets/aerc.go index fdfc658..3ba4e0d 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -251,7 +251,7 @@ func (aerc *Aerc) BeginExCommand() { err := aerc.cmd(cmd) if err != nil { aerc.PushStatus(" "+err.Error(), 10*time.Second). - Color(tcell.ColorRed, tcell.ColorWhite) + Color(tcell.ColorDefault, tcell.ColorRed) } aerc.statusbar.Pop() aerc.focus(previous) -- cgit v1.2.3