commit 5a344ac946b1913d5da1677c6dbd75891d8ad67f
parent 35b5fd4cf406f9f3e9704c6c5eed980dbd48371d
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Fri, 28 Nov 2025 16:31:59 +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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/st.c b/st.c
@@ -2420,6 +2420,7 @@ eschandle(uchar ascii)
resettitle();
xloadcols();
xsetmode(0, MODE_HIDE);
+ xsetmode(0, MODE_BRCKTPASTE);
break;
case '=': /* DECPAM -- Application keypad */
xsetmode(1, MODE_APPKEYPAD);