mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Restore mouse drag mode (#3096)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user