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:
parent
6e97047474
commit
0723b7e39e
1
st.c
1
st.c
@ -2358,6 +2358,7 @@ eschandle(uchar ascii)
|
|||||||
resettitle();
|
resettitle();
|
||||||
xloadcols();
|
xloadcols();
|
||||||
xsetmode(0, MODE_HIDE);
|
xsetmode(0, MODE_HIDE);
|
||||||
|
xsetmode(0, MODE_BRCKTPASTE);
|
||||||
break;
|
break;
|
||||||
case '=': /* DECPAM -- Application keypad */
|
case '=': /* DECPAM -- Application keypad */
|
||||||
xsetmode(1, MODE_APPKEYPAD);
|
xsetmode(1, MODE_APPKEYPAD);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user