From 88ce08afe74074ffb044c1dd8e2b80d5d8345b93 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Jan 2006 06:29:47 +0000 Subject: [PATCH] *** empty log message *** --- src/perl/selection-popup | 1 + src/urxvt.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/perl/selection-popup b/src/perl/selection-popup index 7ad467e1..6fc3883c 100644 --- a/src/perl/selection-popup +++ b/src/perl/selection-popup @@ -46,6 +46,7 @@ sub on_button_press { if ($orig ne $_) { $self->selection ($_); + s/[\x00-\x1f\x80-\x9f]/·/g; $self->msg ("Selection replaced by", $_); } } diff --git a/src/urxvt.pm b/src/urxvt.pm index f8ac8434..a85af1db 100644 --- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -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 { -- 2.34.1