From 63273302494db9f12e909352016f5d1dd71f8998 Mon Sep 17 00:00:00 2001 From: ayin Date: Wed, 1 Aug 2007 17:55:37 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 1 - src/perl/searchable-scrollback | 2 +- src/urxvt.pm | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index b102f921..43005f77 100644 --- a/Changes +++ b/Changes @@ -18,7 +18,6 @@ WISH: anyevent mouse notification / manage MotionMask better. WISH: kick out xpm.C, replace by pixbuf DUMB: support tex fonts -TODO: incremental reggex search should not nuke the selection, its evilish 8. - new option: skipScroll/-ss, enabled by default. - go with the times and expect x11 library files in /usr/lib, not diff --git a/src/perl/searchable-scrollback b/src/perl/searchable-scrollback index 6f9565e7..bf8f4cad 100644 --- a/src/perl/searchable-scrollback +++ b/src/perl/searchable-scrollback @@ -125,7 +125,7 @@ sub key_press { delete $self->{manpage_overlay}; if ($keysym == 0xff0d || $keysym == 0xff8d) { # enter - if ($self->{found}) { + if ($self->{found} && $event->{state} & urxvt::ShiftMask) { my ($br, $bc, $er, $ec) = @{ $self->{found}[0] }; $self->selection_beg ($br, $bc); $self->selection_end ($er, $ec); diff --git a/src/urxvt.pm b/src/urxvt.pm index 7c65698d..0153bfe0 100644 --- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -154,7 +154,7 @@ search upwards/downwards in the scrollback buffer, C jumps to the bottom. C leaves search mode and returns to the point where search was started, while C or C stay at the current position and additionally stores the first match in the current line into the primary -selection. +selection if the C modifier is active. The regex defaults to "(?i)", resulting in a case-insensitive search. To get a case-sensitive search you can delete this prefix using C -- 2.34.1