mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-12 18:55:49 -07:00
Constrain cy in vmove()
This commit is contained in:
@@ -602,6 +602,7 @@ func (t *Terminal) vmove(o int) {
|
|||||||
} else {
|
} else {
|
||||||
t.cy += o
|
t.cy += o
|
||||||
}
|
}
|
||||||
|
t.cy = Max(0, Min(t.cy, t.merger.Length()-1))
|
||||||
}
|
}
|
||||||
|
|
||||||
func maxItems() int {
|
func maxItems() int {
|
||||||
|
Reference in New Issue
Block a user