diff --git a/url-select b/url-select index 1440e9e..398dc06 100644 --- a/url-select +++ b/url-select @@ -110,9 +110,11 @@ sub key_press { select_next($self, 1); } elsif ($char eq 'g') { $self->{row} = $self->top_row - 1; + delete $self->{found}; select_next($self, 1); } elsif ($char eq 'G') { $self->{row} = $self->nrow; + delete $self->{found}; select_next($self, -1); }