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

pull/3160/head
Junegunn Choi 1 year ago
parent d0a0f3c052
commit ae897c8cdb
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -644,7 +644,7 @@ func (r *LightRenderer) Resume(clear bool, sigcont bool) {
}
r.enableMouse()
r.flush()
} else if sigcont && !r.fullscreen {
} else if sigcont && !r.fullscreen && r.mouse {
// NOTE: SIGCONT (Coming back from CTRL-Z):
// It's highly likely that the offset we obtained at the beginning is
// no longer correct, so we simply disable mouse input.

Loading…
Cancel
Save