sync ui for redraw
This commit is contained in:
parent
19561f6531
commit
4bf8b2d76a
1
eval.go
1
eval.go
@ -271,6 +271,7 @@ func (e *CallExpr) eval(app *App, args []string) {
|
|||||||
app.nav.save(false)
|
app.nav.save(false)
|
||||||
saveFiles(nil, false)
|
saveFiles(nil, false)
|
||||||
case "redraw":
|
case "redraw":
|
||||||
|
app.ui.sync()
|
||||||
app.ui.renew()
|
app.ui.renew()
|
||||||
app.nav.renew(app.ui.wins[0].h)
|
app.nav.renew(app.ui.wins[0].h)
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user