*** empty log message ***
authorroot <root>
Mon, 9 Jan 2006 06:29:47 +0000 (06:29 +0000)
committerroot <root>
Mon, 9 Jan 2006 06:29:47 +0000 (06:29 +0000)
src/perl/selection-popup
src/urxvt.pm

index 7ad467e..6fc3883 100644 (file)
@@ -46,6 +46,7 @@ sub on_button_press {
 
                if ($orig ne $_) {
                   $self->selection ($_);
+                  s/[\x00-\x1f\x80-\x9f]/ยท/g;
                   $self->msg ("Selection replaced by", $_);
                }
             }
index f8ac843..a85af1d 100644 (file)
@@ -1117,7 +1117,7 @@ C<< $term->ROW_t >> for details.
 
 =item $success = $term->grab_button ($button, $modifiermask)
 
-Registers a synchronous button grab. See XGrabButton.
+Registers a synchronous button grab. See the XGrabButton manpage.
 
 =item $success = $term->grab ($eventtime[, $sync])
 
@@ -1193,7 +1193,7 @@ sub add_title {
 sub add_button {
    my ($self, $text, $cb) = @_;
 
-   $self->add_item ({ type => "button", text => "[ $text ]", activate => $cb});
+   $self->add_item ({ type => "button", text => $text, activate => $cb});
 }
 
 sub add_toggle {