From: Simon Ruderich Date: Thu, 28 Jan 2016 17:51:29 +0000 (+0100) Subject: search mode: fix prompt drawing when aborting selection mode X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=a2487880bae64aa72c98f20111a063200831a74b;p=fcscs%2Ffcscs.git search mode: fix prompt drawing when aborting selection mode --- diff --git a/bin/fcscs b/bin/fcscs index 7a492e9..8194f94 100755 --- 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,