[hackers] [st] Disable bracked paste in reset || Roberto E. Vargas Caballero
commit 0723b7e39e73b2bcfce047b047f6e795d6184028
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
AuthorDate: Fri Nov 28 16:31:59 2025 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Tue Dec 2 20:09:47 2025 +0100
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.
diff --git a/st.c b/st.c
index 8e57991..e55e7b3 100644
--- a/st.c
+++ b/st.c
_AT_@ -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);
Received on Tue Dec 02 2025 - 20:10:23 CET
This archive was generated by hypermail 2.3.0
: Tue Dec 02 2025 - 20:12:34 CET