From fd4a07c22f225a6b58385e80552075d9168fd61a Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Thu, 31 Jan 2019 12:06:42 +0100 Subject: Exit also on q --- url-picker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url-picker b/url-picker index 81c9fd0..c47ee1b 100644 --- a/url-picker +++ b/url-picker @@ -107,7 +107,7 @@ sub on_key_press { } my $p = $self->{url_picker}; if ($p) { - if ($keysym == 0xff1b) { # escape + if ($keysym == 0xff1b || $keysym == 113) { # escape or q $self->screen_cur($p->{crow},$p->{ccol}); $self->{url_picker} = (); } elsif ($keysym == 0xff08) { # backspace -- cgit v1.2.3