Automatically selecting the last entry in ‘matcher:select’ mode saves
user from having to manually press the ‘up’ arrow.
---
src/perl/matcher | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/perl/matcher b/src/perl/matcher
index c738669..903499b 100644
--- a/src/perl/matcher
+++ b/src/perl/matcher
@@ -405,6 +405,8 @@ sub select_enter {
$self->{overlay} = $self->overlay (0, -1, $self->ncol, 1,
urxvt::OVERLAY_RSTYLE, 0);
$self->{overlay}->set (0, 0, "match-select");
+
+ $self->select_search (-1, $self->nrow - 1);
}
sub select_leave {
--
2.16.2
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode