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.26 by sf-exg, Sun Nov 20 11:09:22 2011 UTC vs.
Revision 1.28 by root, Sun Jun 10 13:58:06 2012 UTC

1#! perl 1#! perl
2 2
3# this extension implements scrollback buffer search 3# this extension implements scrollback buffer search
4
5#:META:X_RESOURCE:%:string:activation hotkey keysym
4 6
5sub on_init { 7sub on_init {
6 my ($self) = @_; 8 my ($self) = @_;
7 9
8 my $hotkey = $self->{argv}[0] 10 my $hotkey = $self->{argv}[0]
9 || $self->x_resource ("searchable-scrollback") 11 || $self->x_resource ("%")
10 || "M-s"; 12 || "M-s";
11 13
12 $self->parse_keysym ($hotkey, "perl:searchable-scrollback:start") 14 $self->parse_keysym ($hotkey, "perl:searchable-scrollback:start")
13 or warn "unable to register '$hotkey' as scrollback search start hotkey\n"; 15 or warn "unable to register '$hotkey' as scrollback search start hotkey\n";
14 16

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines