mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 11:29:01 +00:00
Restore mouse drag mode (#3096)
This commit is contained in:
parent
7c660aa86e
commit
088293f5e7
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user