aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2019-01-31 12:06:42 +0100
committerDaniel Lublin <daniel@lublin.se>2019-01-31 12:06:42 +0100
commitfd4a07c22f225a6b58385e80552075d9168fd61a (patch)
tree315dc6803c76461d6651cd43520df572dacb3896
parent09effaddaf46b1de022988e5343bec2995aabe03 (diff)
Exit also on q
-rw-r--r--url-picker2
1 files changed, 1 insertions, 1 deletions
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