summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.net>2025-11-28 16:31:59 +0100
committerJake Koroman <jake@jakekoroman.com>2026-03-15 21:15:34 -0400
commit48c6df845a3de9470b939bbcdec71f6c09afd1fd (patch)
tree5829a57246ddad2a7d5ba5b484348fd5ae3549a2 /st.c
parent05871c1a5f0d899794d6215c393e96fd592a42d8 (diff)
Disable bracked paste in reset
Sadly, there are too many programs today that enable this mode and it is becoming very common to find the terminal adding characters before and after in every of your pastes. A reset should disable this mode.
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.c b/st.c
index 8e57991..e55e7b3 100644
--- a/st.c
+++ b/st.c
@@ -2358,6 +2358,7 @@ eschandle(uchar ascii)
resettitle();
xloadcols();
xsetmode(0, MODE_HIDE);
+ xsetmode(0, MODE_BRCKTPASTE);
break;
case '=': /* DECPAM -- Application keypad */
xsetmode(1, MODE_APPKEYPAD);