Skip to content
Myr

No need to touch mouse flag if it's already false

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 d0a0f3c · 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/tui/light.go+1 added-1 removed
642 unmodified lines
643 r.rmcup()644 }645 r.enableMouse()646 r.flush()647 } else if sigcont && !r.fullscreen {647 } else if sigcont && !r.fullscreen && r.mouse {648 // NOTE: SIGCONT (Coming back from CTRL-Z):649 // It's highly likely that the offset we obtained at the beginning is650 // no longer correct, so we simply disable mouse input.651 r.disableMouse()
418 unmodified lines