ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection-autotransform
(Generate patch)

Comparing rxvt-unicode/src/perl/selection-autotransform (file contents):
Revision 1.5 by root, Tue Jan 17 16:22:41 2006 UTC vs.
Revision 1.6 by root, Wed Jan 18 11:05:09 2006 UTC

3sub msg { 3sub msg {
4 my ($self, $msg) = @_; 4 my ($self, $msg) = @_;
5 5
6 my $overlay = $self->overlay (0, 0, $self->strwidth ($msg), 1); 6 my $overlay = $self->overlay (0, 0, $self->strwidth ($msg), 1);
7 $overlay->set (0, 0, $msg); 7 $overlay->set (0, 0, $msg);
8 my $iow; $iow = urxvt::timer->new->start (urxvt::NOW + 2)->cb (sub { 8 my $iow; $iow = urxvt::timer->new->after (2)->cb (sub {
9 undef $overlay; 9 undef $overlay;
10 undef $iow; 10 undef $iow;
11 }); 11 });
12} 12}
13 13

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines