add redraw command for ui update

Mentioned in #92.
This commit is contained in:
Gokcehan committed 2017-11-19 02:36:01 +03:00
1 parent 9ac32fc850
commit 30ed1c651f
4 files changed
+14 -8

No files matched your search

+3
View File
@@ -391,6 +391,9 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.message = msg
log.Printf(msg)
}
case "redraw":
app.ui.sync()
app.ui.renew()
case "renew":
app.ui.sync()
app.ui.renew()