m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

Disable bracketed paste mode on exit

Related: #4338
This commit is contained in:
Junegunn Choi
2025-04-06 12:50:50 +09:00
parent a1b2a6fe2c
commit d22e75dcdd

View File

@@ -775,6 +775,7 @@ func (r *LightRenderer) Close() {
if !r.showCursor {
r.csi("?25h")
}
r.csi("?2004l") // Disable bracketed paste mode we enabled in Init()
r.disableMouse()
r.flush()
r.restoreTerminal()