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
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

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()