Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tui/light.go
Original file line number Diff line number Diff line change
@@ -540,7 +540,7 @@ func (r *LightRenderer) mouseSequence(sz *int) Event {

t := atoi(elems[0], -1)
x := atoi(elems[1], -1) - 1
y := atoi(elems[2], -1) - 1
y := atoi(elems[2], -1) - 1 - r.yoffset
if t < 0 || x < 0 || y < 0 {
return Event{Invalid, 0, nil}
}

0 comments on commit 18f7230

Please sign in to comment.