sync ui for redraw

This commit is contained in:
Gokcehan 2016-08-24 12:34:54 +03:00
parent 19561f6531
commit 4bf8b2d76a

View File

@ -271,6 +271,7 @@ func (e *CallExpr) eval(app *App, args []string) {
app.nav.save(false)
saveFiles(nil, false)
case "redraw":
app.ui.sync()
app.ui.renew()
app.nav.renew(app.ui.wins[0].h)
default: