~ubuntu-branches/ubuntu/jaunty/rxvt-unicode/jaunty-proposed

« back to all changes in this revision

Viewing changes to src/perl/searchable-scrollback

  • Committer: Bazaar Package Importer
  • Author(s): Decklin Foster
  • Date: 2006-09-01 14:44:58 UTC
  • mfrom: (1.1.8 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060901144458-98hrz8zg01w8a3vy
Tags: 7.9-2
* Edit the comments in the app-defaults file, and disable all settings by
  default. If font autoselection fails, I would prefer to open a new bug
  specifically for that. (Closes: #385481)
* Reorganize and edit README.Debian, pushing as much as possible into FAQ
  format (with resource setting issues first).

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
   $self->{view_start} = $self->view_start;
40
40
   $self->{pty_ev_events} = $self->pty_ev_events (urxvt::EVENT_NONE);
41
41
   $self->{row} = $self->nrow - 1;
 
42
   $self->{search} = "(?i)";
42
43
 
43
44
   $self->enable (
44
45
      key_press     => \&key_press,
158
159
   my ($self, $data) = @_;
159
160
 
160
161
   $self->{search} .= $self->locale_decode ($data);
 
162
 
 
163
   $self->{search} =~ s/^\(\?i\)//
 
164
      if $self->{search} =~ /^\(.*[[:upper:]]/;
 
165
   
161
166
   $self->search (-1);
162
167
   $self->idle;
163
168