Re: [dev] [st] Hardening bracketed paste mode

2025-05-11 Thread Andrew Mass
On Sat, May 10, 2025 at 10:22 PM Steffen Nurpmeso wrote: > Thomas Dickey as "the one" wrote about all that: > > https://invisible-island.net/xterm/xterm-paste64.html Thanks for sending this, there was a lot of useful context. It seems as if xterm's allowPasteControls / disallowedPasteControls

[dev] [st] Hardening bracketed paste mode

2025-05-10 Thread Andrew Mass
Hello, I believe bracketed paste mode was originally intended for use cases like text editors, but it seems like many shells are using it as well to differentiate typed from pasted text. One advantage of this is preventing commands from running automatically when pasted into the terminal. This see