summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-04-06 12:50:50 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-04-06 12:51:36 +0900
commitd22e75dcdd441d24f3275a67de41675f1bdbd86b (patch)
tree9cf864f12b99c460c08f542b769d8ca67e0ab816 /src
parenta1b2a6fe2cfa304ec749627aefedd3b0756586c0 (diff)
downloadfzf-d22e75dcdd441d24f3275a67de41675f1bdbd86b.tar.gz
Disable bracketed paste mode on exit
Related: #4338
Diffstat (limited to 'src')
-rw-r--r--src/tui/light.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tui/light.go b/src/tui/light.go
index 805bee80..1f3b5d72 100644
--- a/src/tui/light.go
+++ b/src/tui/light.go
@@ -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()