Bound cursor position after terminal resize (#1290)

This commit is contained in:
Joe Lim authored and GitHub committed 2023-06-08 17:17:32 +03:00
1 parent 027538eabf
commit 07cf7dd1bd
1 file changed
+3
+3
View File
@@ -1742,6 +1742,9 @@ func (e *callExpr) eval(app *app, args []string) {
app.nav.height = app.ui.wins[0].h
app.nav.regCache = make(map[string]*reg)
}
for _, dir := range app.nav.dirs {
dir.boundPos(app.nav.height)
}
app.ui.loadFile(app, true)
case "load":
if !app.nav.init {