Skip to content
Myr

Disable mouse if failed to query cursor position

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent e1291aa · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:src/tui/light.go+2 added-1 removed
189 unmodified lines
190191 if r.fullscreen {192 r.smcup()193 } else {194 _, x := r.findOffset()194 y, x := r.findOffset()195 r.mouse = r.mouse && y >= 0196 if x > 0 {197 r.upOneLine = true198 r.makeSpace()199 }
663 unmodified lines