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

Comparing rxvt-unicode/src/perl/matcher (file contents):
Revision 1.31 by sf-exg, Sun Jun 22 07:51:21 2014 UTC vs.
Revision 1.32 by sf-exg, Wed Jul 30 15:22:51 2014 UTC

187 $self->enable (key_press => \&matchlist_key_press); 187 $self->enable (key_press => \&matchlist_key_press);
188} 188}
189 189
190sub most_recent { 190sub most_recent {
191 my ($self) = shift; 191 my ($self) = shift;
192 my $row = $self->nrow; 192 my $row = $self->nrow - 1;
193 my @exec; 193 my @exec;
194 while($row-- > $self->top_row) { 194 while ($row >= $self->top_row) {
195 my $line = $self->line ($row);
195 @exec = $self->command_for($row); 196 @exec = $self->command_for($row);
196 last if(@exec); 197 last if(@exec);
198
199 $row = $line->beg - 1;
197 } 200 }
198 if(@exec) { 201 if(@exec) {
199 return $self->exec_async (@exec); 202 return $self->exec_async (@exec);
200 } 203 }
201 () 204 ()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines