mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 14:27:12 +09:00
Fix bottomline when softwrap enabled
This commit is contained in:
@@ -121,7 +121,7 @@ func (w *BufWindow) Bottomline() int {
|
||||
return h
|
||||
}
|
||||
|
||||
l := w.LocFromVisual(buffer.Loc{0, w.Height})
|
||||
l := w.LocFromVisual(buffer.Loc{0, w.Y + w.Height})
|
||||
|
||||
log.Println("Bottom line:", l.Y)
|
||||
return l.Y
|
||||
|
||||
Reference in New Issue
Block a user