On Sat, May 10, 2025 at 10:22 PM Steffen Nurpmeso <stef...@sdaoden.eu> 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 feature was largely intended to be independent from bracketed-paste. However, one could see how users of bracketed-paste would be interested in having their terminal prevent controls from being pasted. I think this raises a new question: Should st have an (optional?) feature that prevents control codes from being pasted? This would behave similarly to xterm's removeControls function. This question is mostly unrelated to bracketed paste / the original questions in this thread. I already have a patch for this, but I am not sure whether I should submit it for mainline consideration, add it to the wiki, or just leave it be.