Skip to content
Myr

Fix double-click result when scroll offset is positive

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 a88bf87 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/terminal.go+1 added-1 removed
695 unmodified lines
696 }697 } else if me.Double {698 // Double-click699 if my >= 2 {700 if t.vset(my-2) && t.cy < t.merger.Length() {700 if t.vset(t.offset+my-2) && t.cy < t.merger.Length() {701 req(reqClose)702 }703 }704 } else if me.Down {
62 unmodified lines