On Mon, Oct 20, 2025, 01:10 Artyom Bologov <[email protected]> wrote: > When I press the key bound to it, it takes 50+ seconds to type itself > in. As discussed in > https://github.com/hanslub42/rlwrap/issues/209#issuecomment-3419634786 > the problem is blinking parens, slowing down the input per each > parenthesis/bracket/brace included. > > Is this considered a bug? I do want to have it instantaneous, but also > want to retain paren matching, as I’m doing Lisp from time to time. >
You could have your macro use quoted-insert to type the closing paren, i.e. replace each ")" with "\C-v)". Or, if bracketed paste mode is enabled, and your macro is just inserting text (i.e. not invoking any Readline commands) you can have all the text be inserted in bracketed paste mode like "\e[200~YOUR TEXT HERE\e[201~". >
