]> ruderich.org/simon Gitweb - fcscs/fcscs.git/blobdiff - bin/fcscs
search mode: fix prompt drawing when aborting selection mode
[fcscs/fcscs.git] / bin / fcscs
index 7a492e9784d54136ecb8eef5f5c75279a590383e..8194f9410c580991a4a8b08ab047ed1b1a44007a 100755 (executable)
--- a/bin/fcscs
+++ b/bin/fcscs
@@ -830,6 +830,9 @@ sub mapping_mode_search {
 
     $screen->cursor(0);
 
 
     $screen->cursor(0);
 
+    $screen->prompt(name => undef, value => undef); # clear prompt
+    $screen->draw_prompt($config);
+
     return {
         select  => 'search',
         matches => \@last_matches,
     return {
         select  => 'search',
         matches => \@last_matches,