TODO: selection_beg/end should set screen, or so
TODO: - upgrade to libev-xx
TODO: -rv interacts badly with popups.
-TODO: idle/interval timer implementation für anyevent
TODO: perl-shell-window?
-TODO: restore signal mask when starting shells
TODO: zweimal numlock? falsche codes rxvt urxvt for numpad?
- port to glibc-2.10 changes (strchr etc. returning const char *
in C++), based on patches by Milos Jakubicek and Oliver Mader.
the old version to macosx-pastebin-native.
- document the -uc option (exg).
- assertions in libev are now enabled depending on frills.
+ - update AnyEvent implementation to version 5.23 API.
- work around arrogant bsd idiocies again: netbsd spills the default
namespace with lots of symbols "for gnu/gcc compatibility" even
though neither of them does it, and then calls the rest of the world
=cut
-our $VERSION = '3.4';
+our $VERSION = '5.23';
$INC{"urxvt/anyevent.pm"} = 1; # mark us as there
push @AnyEvent::REGISTRY, [urxvt => urxvt::anyevent::];
->after ($arg{after})
->interval ($arg{interval})
->start
- ->cb (sub {
- #TODO interval?
+ ->cb ($argv{interval} ? $cb : sub {
$_[0]->stop; # need to cancel manually
$cb->();
})
urxvt::iw
->new
->start
- ->cb (sub {
- #TODO really cancel?
- $_[0]->stop; # need to cancel manually
- $cb->();
- })
+ ->cb ($cb)
}
sub child {
->new
->start ($arg{pid})
->cb (sub {
- #TODO really cancel?
$_[0]->stop; # need to cancel manually
$cb->($_[0]->rpid, $_[0]->rstatus);
})