mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 19:39:07 +00:00
Disable mouse if failed to query cursor position
This commit is contained in:
parent
e1291aa6d2
commit
12a43b5e62
@ -191,7 +191,8 @@ func (r *LightRenderer) Init() {
|
||||
if r.fullscreen {
|
||||
r.smcup()
|
||||
} else {
|
||||
_, x := r.findOffset()
|
||||
y, x := r.findOffset()
|
||||
r.mouse = r.mouse && y >= 0
|
||||
if x > 0 {
|
||||
r.upOneLine = true
|
||||
r.makeSpace()
|
||||
|
Loading…
Reference in New Issue
Block a user