mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-06-03 16:00:49 +00:00
No need to query row position of the cursor if mouse is disabled
This commit is contained in:
parent
ae274158de
commit
0c127cfdc1
|
@ -185,7 +185,9 @@ func (r *LightRenderer) Init() {
|
|||
r.csi(fmt.Sprintf("%dA", r.MaxY()-1))
|
||||
r.csi("G")
|
||||
// r.csi("s")
|
||||
r.yoffset, _ = r.findOffset()
|
||||
if r.mouse {
|
||||
r.yoffset, _ = r.findOffset()
|
||||
}
|
||||
}
|
||||
|
||||
func (r *LightRenderer) move(y int, x int) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user