Skip to content

Commit d22e75d

Browse files
committed
Disable bracketed paste mode on exit
Related: #4338
1 parent a1b2a6f commit d22e75d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/tui/light.go

+1
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,7 @@ func (r *LightRenderer) Close() {
775775
if !r.showCursor {
776776
r.csi("?25h")
777777
}
778+
r.csi("?2004l") // Disable bracketed paste mode we enabled in Init()
778779
r.disableMouse()
779780
r.flush()
780781
r.restoreTerminal()

0 commit comments

Comments
 (0)