aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--url-picker3
1 files changed, 3 insertions, 0 deletions
diff --git a/url-picker b/url-picker
index 577e83c..81c9fd0 100644
--- a/url-picker
+++ b/url-picker
@@ -102,6 +102,9 @@ sub on_user_command {
sub on_key_press {
my ($self, $event, $keysym) = @_;
+ if ($self->{url_picker_msg}) {
+ $self->{url_picker_msg} = ();
+ }
my $p = $self->{url_picker};
if ($p) {
if ($keysym == 0xff1b) { # escape