… | |
… | |
36 | my ($self) = @_; |
36 | my ($self) = @_; |
37 | |
37 | |
38 | # only for backwards compatibility |
38 | # only for backwards compatibility |
39 | my $hotkey = $self->{argv}[0] |
39 | my $hotkey = $self->{argv}[0] |
40 | || $self->x_resource ("%") |
40 | || $self->x_resource ("%") |
41 | || "M-s"; |
41 | || return; |
42 | |
42 | |
43 | $self->bind_action ($hotkey, "searchable-scrollback:start") # ugh |
43 | $self->bind_action ($hotkey, "searchable-scrollback:start") # ugh |
44 | or warn "unable to register '$hotkey' as scrollback search start hotkey\n"; |
44 | or warn "unable to register '$hotkey' as scrollback search start hotkey\n"; |
45 | |
45 | |
46 | () |
46 | () |