aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/widgets/account.go b/widgets/account.go
index be1e068a..c5545ef5 100644
--- a/widgets/account.go
+++ b/widgets/account.go
@@ -114,9 +114,8 @@ func (acct *AccountView) Event(event tcell.Event) bool {
exline := NewExLine(func(command string) {
err := acct.runCmd(command)
if err != nil {
- acct.statusline.Push(
- fmt.Sprintf("Error: %v", err), 10*time.Second).
- Color(tcell.ColorRed, tcell.ColorDefault)
+ acct.statusline.Push(" "+err.Error(), 10*time.Second).
+ Color(tcell.ColorRed, tcell.ColorWhite)
}
acct.statusbar.Pop()
acct.interactive = nil