mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-09 08:32:01 -07:00
Constrain cy in vmove()
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user