diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-01-01 21:04:40 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-01-01 21:04:40 +0900 |
commit | 088293f5e7344122728b305595b1e3e8e4d5a5ca (patch) | |
tree | 212dc2d8793084b58592d658c8d1868827882f76 /src/tui | |
parent | 7c660aa86ec285f8bd147960ee29da591313f473 (diff) |
Restore mouse drag mode (#3096)
Diffstat (limited to 'src/tui')
-rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index 83020a71..7745efd9 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -631,6 +631,7 @@ func (r *LightRenderer) Resume(clear bool, sigcont bool) { // It's highly likely that the offset we obtained at the beginning is // no longer correct, so we simply disable mouse input. r.csi("?1000l") + r.csi("?1002l") r.csi("?1006l") r.mouse = false } @@ -671,6 +672,7 @@ func (r *LightRenderer) Close() { } if r.mouse { r.csi("?1000l") + r.csi("?1002l") r.csi("?1006l") } r.flush() |