mirror of
https://github.com/walles/moar.git
synced 2024-08-16 23:40:35 +03:00
Add a comment
This commit is contained in:
parent
1fa95284a1
commit
6bee135317
@ -294,6 +294,8 @@ func (p *Pager) isScrolledToEnd() bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Last line is on screen, now we need to figure out whether we can see all
|
||||||
|
// of it
|
||||||
lastInputLine := p.reader.GetLine(lastInputLineNumberOneBased)
|
lastInputLine := p.reader.GetLine(lastInputLineNumberOneBased)
|
||||||
lastInputLineRendered := p.renderLine(lastInputLine, lastInputLineNumberOneBased)
|
lastInputLineRendered := p.renderLine(lastInputLine, lastInputLineNumberOneBased)
|
||||||
lastRenderedSubLine := lastInputLineRendered[len(lastInputLineRendered)-1]
|
lastRenderedSubLine := lastInputLineRendered[len(lastInputLineRendered)-1]
|
||||||
|
Loading…
Reference in New Issue
Block a user