On Mon, Aug 14, 2023 at 11:45:09PM -0400, Thomas Guyot-Sionnest
<[email protected]> wrote:
> Speaking of which, one thing that would annoy me if I wanted to use this is
> the searchable-scrollback also get those onpaste and is doesn't strip
> them... I'm not familiar with urxvt plugins, but if I wanted to fix this
> what would be the preferred approach? Update the plugin code to ignore the
> brackets or prevent rxvt from generating them or sending them to the plugin
> in the first place?
Off-hand, I wouldn't know what the best approach is. Stripping the sequences
out is likely on the simpler side, and I don't think there is ever a value in
able to search for escapes, so this should be safe.
Not generating them might be the cleaner approach (and since is it a
privmode, it should be reaosnabyl easy to save/override and restoire the
priv_modes). Might also be the simplest solution, as searchable scrollback
already has to save/restore some stuff.
I guess I would try the second approach first. A patch would be highly
welcome :)
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode