Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category core
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Normal
  • Reported Version Irssi SVN
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by David Leadbeater (dgl) - 2007-09-17

FS#531 - [PATCH] Add signal for paste detection events

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.

This task does not depend on any other tasks.

Matt Sparks (ms)
Friday, 28 August 2009, 07:05 GMT
+1

Loading...