Flesh out command parsing & handling

This commit is contained in:
Drew DeVault 2019-03-10 21:23:22 -04:00
commit d394fd1f3b
6 changed files with 48 additions and 23 deletions
widgets

View file

@ -115,7 +115,7 @@ func (acct *AccountView) Event(event tcell.Event) bool {
err := acct.runCmd(command)
if err != nil {
acct.statusline.Push(
fmt.Sprintf("Error: %v", err), 3*time.Second).
fmt.Sprintf("Error: %v", err), 10*time.Second).
Color(tcell.ColorRed, tcell.ColorDefault)
}
acct.statusbar.Pop()