diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-01-24 12:45:07 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-01-24 12:45:07 +0900 |
commit | ae897c8cdbbaa8f371c6e2fcb976a594a562e1bf (patch) | |
tree | 1d8e700ca4b5bd8b6b16a85ace94885f4c6f300b /src/tui | |
parent | d0a0f3c0520ba744c2769e8a2b1159bb098c5488 (diff) |
No need to touch mouse flag if it's already false
Diffstat (limited to 'src/tui')
-rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index aca4c0bb..322584dd 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -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. |