Fix goto issue

This commit is contained in:
Zachary Yedidia
2019-12-21 16:12:51 -05:00
parent dde52132cf
commit 9127152d93
2 changed files with 2 additions and 1 deletions

View File

@@ -755,6 +755,7 @@ func (h *BufPane) GotoCmd(args []string) {
line = util.Clamp(line-1, 0, h.Buf.LinesNum()-1)
h.Cursor.GotoLoc(buffer.Loc{0, line})
}
h.Relocate()
}
}