1
0
mirror of git://git.suckless.org/st synced 2025-12-03 23:42:56 +00:00

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.
This commit is contained in:
Roberto E. Vargas Caballero 2025-11-28 16:31:59 +01:00 committed by Hiltjo Posthuma
parent 6e97047474
commit 0723b7e39e

1
st.c
View File

@ -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);