search mode: fix prompt drawing when aborting selection mode
authorSimon Ruderich <simon@ruderich.org>
Thu, 28 Jan 2016 17:51:29 +0000 (18:51 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 28 Jan 2016 17:51:29 +0000 (18:51 +0100)
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->prompt(name => undef, value => undef); # clear prompt
+    $screen->draw_prompt($config);
+
     return {
         select  => 'search',
         matches => \@last_matches,