mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-08 00:40:58 +00:00
Fix bottomline when softwrap enabled
This commit is contained in:
parent
e66d01e989
commit
f8218e0648
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue