projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a7016
)
Match https URLs, debian bug #428659.
author
ayin
<ayin>
Wed, 31 Oct 2007 18:12:27 +0000
(18:12 +0000)
committer
ayin
<ayin>
Wed, 31 Oct 2007 18:12:27 +0000
(18:12 +0000)
src/perl/selection-popup
patch
|
blob
|
history
diff --git
a/src/perl/selection-popup
b/src/perl/selection-popup
index 56b43c4dcff564d533d4bc75a3741b3074f091fa..7d14ff07c6702fe7d1ca32c36f5c3ae948cd3112 100644
(file)
--- a/
src/perl/selection-popup
+++ b/
src/perl/selection-popup
@@
-74,7
+74,7
@@
sub on_button_press {
/[\\"'\ \t|&;<>()]/
and $add_button->("shell quote" => sub { $_ = "\Q$_" });
- /^(http|ftp|telnet|irc|news):\//
+ /^(http
s?
|ftp|telnet|irc|news):\//
and $add_button->("run $self->{browser}" => sub { $self->exec_async ($self->{browser}, $_) });
for my $hook (@{ $self->{term}{selection_popup_hook} || [] }) {