Flesh out command parsing & handling
This commit is contained in:
parent
b60999c39e
commit
d394fd1f3b
6 changed files with 48 additions and 23 deletions
widgets
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue