From 4bf8b2d76ae9e4ab3f4b5657d1704bd896345963 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Wed, 24 Aug 2016 12:34:54 +0300 Subject: [PATCH] sync ui for redraw --- eval.go | 1 + 1 file changed, 1 insertion(+) diff --git a/eval.go b/eval.go index 9c98120..dfb7eb9 100644 --- a/eval.go +++ b/eval.go @@ -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: