mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
Constrain cy in vmove()
This commit is contained in:
parent
b8a9861f95
commit
2d9b38b93e
@ -602,6 +602,7 @@ func (t *Terminal) vmove(o int) {
|
||||
} else {
|
||||
t.cy += o
|
||||
}
|
||||
t.cy = Max(0, Min(t.cy, t.merger.Length()-1))
|
||||
}
|
||||
|
||||
func maxItems() int {
|
||||
|
Loading…
Reference in New Issue
Block a user