You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.
The attached patch adds two signals, "gui paste detected" and "gui paste flush" that allows a script to intercept certain paste events. It doesn't intercept the normal paste key (^K) but adds two more keys that scripts can use (^O and ^P).
It currently hardcodes the keys that are allowed, I don't like that much but I can't think of a nice way to make it configurable. (I guess a perl function to register interest, but that seems like a huge amount of effort for something so simple.)
The attached patch adds two signals, "gui paste detected" and "gui paste flush" that allows a script to intercept certain paste events. It doesn't intercept the normal paste key (^K) but adds two more keys that scripts can use (^O and ^P).
It currently hardcodes the keys that are allowed, I don't like that much but I can't think of a nice way to make it configurable. (I guess a perl function to register interest, but that seems like a huge amount of effort for something so simple.)
I've written a script to use this, you can find it at http://dgl.cx/irssi/pastie.pl
It would be nice to see this in Irssi core, as I think the script could be quite useful.
The text was updated successfully, but these errors were encountered: