# Use a temporary file to prevent leaking the yanked data to other users
# with the command line, e.g. ps aux or top.
my ($fh, $tmp) = File::Temp::tempfile(); # dies on its own
# Use a temporary file to prevent leaking the yanked data to other users
# with the command line, e.g. ps aux or top.
my ($fh, $tmp) = File::Temp::tempfile(); # dies on its own
my @cmd = map { $screen->encode($_) } (
@{$config->{setting}{browser}},
my @cmd = map { $screen->encode($_) } (
@{$config->{setting}{browser}},
$config{handler}{url} = sub {
my ($screen, $config, $match) = @_;
$config{handler}{url} = sub {
my ($screen, $config, $match) = @_;
debug \%config, 'input', 'running handler';
my $handler = $config{state}{handler}; # set by user
$handler = $result->{handler} unless defined $handler; # set by mapping
debug \%config, 'input', 'running handler';
my $handler = $config{state}{handler}; # set by user
$handler = $result->{handler} unless defined $handler; # set by mapping