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

Comparing rxvt-unicode/src/perl/searchable-scrollback (file contents):
Revision 1.38 by sf-exg, Sun Jun 8 19:40:20 2014 UTC vs.
Revision 1.39 by sf-exg, Mon Jun 9 19:40:42 2014 UTC

122 } while $text =~ /$re/g; 122 } while $text =~ /$re/g;
123 123
124 $self->{row} = $row; 124 $self->{row} = $row;
125 $self->view_start (List::Util::min 0, $row - ($self->nrow >> 1)); 125 $self->view_start (List::Util::min 0, $row - ($self->nrow >> 1));
126 $self->want_refresh; 126 $self->want_refresh;
127 last; 127 return;
128 } 128 }
129 129
130 $row = $dir < 0 ? $line->beg - 1 : $line->end + 1; 130 $row = $dir < 0 ? $line->beg - 1 : $line->end + 1;
131 } 131 }
132 } 132 }
133 133
134 $self->scr_bell unless $self->{found}; 134 $self->scr_bell;
135} 135}
136 136
137sub refresh { 137sub refresh {
138 my ($self) = @_; 138 my ($self) = @_;
139 139

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines