Fix overscroll related to drawbox (#2210)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2025-10-20 16:52:56 +02:00
1 parent a949d4a5d1
commit 35c883e438
1 file changed
+4 -1
+4 -1
View File
@@ -90,7 +90,10 @@ func (e *setExpr) eval(app *app, args []string) {
err = applyBoolOpt(&gOpts.drawbox, e)
if err == nil {
app.ui.renew()
clear(app.nav.regCache)
if app.nav.height != app.ui.wins[0].h {
app.nav.height = app.ui.wins[0].h
clear(app.nav.regCache)
}
app.ui.loadFile(app, true)
}
case "hidden", "nohidden", "hidden!":