mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
No need to query row position of the cursor if mouse is disabled
This commit is contained in:
@@ -185,7 +185,9 @@ func (r *LightRenderer) Init() {
|
||||
r.csi(fmt.Sprintf("%dA", r.MaxY()-1))
|
||||
r.csi("G")
|
||||
// r.csi("s")
|
||||
if r.mouse {
|
||||
r.yoffset, _ = r.findOffset()
|
||||
}
|
||||
}
|
||||
|
||||
func (r *LightRenderer) move(y int, x int) {
|
||||
|
||||
Reference in New Issue
Block a user