X-Git-Url: https://ruderich.org/simon/gitweb/?p=fcscs%2Ffcscs.git;a=blobdiff_plain;f=bin%2Ffcscs;h=cb68b04a6ca7050d75fcdfdfc807dc5d6bf4f759;hp=d45747123a55f60acf2ea913b3df6b03be906537;hb=4aa5c3ac7be7c45100928efd37cf1a1388093e33;hpb=bcac0b8075b6cd11edc0ab4237d872f239a8ca67 diff --git a/bin/fcscs b/bin/fcscs index d457471..cb68b04 100755 --- a/bin/fcscs +++ b/bin/fcscs @@ -611,6 +611,8 @@ sub extend_match { $screen->debug('extend_match', 'started'); + return if not defined $match; + $screen->prompt(name => 'extend', value => undef); $screen->draw_prompt($config); @@ -1376,8 +1378,8 @@ RESULT: $screen->debug('input', 'selecting match'); my $tmp = $result; $result = select_match($result->{select}, - $screen, \%config, $input, - $result->{matches}); + $screen, \%config, $input, + $result->{matches}); $result->{handler} = $tmp->{handler}; $result->{extend} = $tmp->{extend}; goto RESULT; # reprocess special entries in result