summary refs log tree commit diff stats
path: root/widgets/account.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-30 13:05:00 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-30 13:05:00 -0400
commit2958579ee75359dacfabb6d1b36664468011113c (patch)
treeccd5d4decc909fa3111739419cb231cb4e2e4962 /widgets/account.go
parent84965d680cff655c7734070ef93fd3c1e2177748 (diff)
downloadaerc-2958579ee75359dacfabb6d1b36664468011113c.tar.gz
Correct color of error messages
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go2
1 files changed, 1 insertions, 1 deletions
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)
 	}
 }