X-Git-Url: https://ruderich.org/simon/gitweb/?p=fcscs%2Ffcscs.git;a=blobdiff_plain;f=bin%2Ffcscs;h=8194f9410c580991a4a8b08ab047ed1b1a44007a;hp=a2a95b7d567e15b90d9f404b7abc02b506921027;hb=a2487880bae64aa72c98f20111a063200831a74b;hpb=b59955be2da0de3a1bcecbde196e30851b5a90ac diff --git a/bin/fcscs b/bin/fcscs index a2a95b7..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, @@ -1098,23 +1101,23 @@ Defaults in parentheses. =over -=item B enable debug mode, writes to I<~/.config/fcscs/log> (C<0>) +=item B enable debug mode, writes to I<~/.config/fcscs/log> (C<0>) -=item B start in this mode, must be a valid mode mapping (C<\&mapping_mode_url>) +=item B start in this mode, must be a valid mode mapping (C<\&mapping_mode_url>) -=item B set multiplexer ("screen" or "tmux") if not autodetected (C) +=item B set multiplexer ("screen" or "tmux") if not autodetected (C) -=item B ignore case when searching (C<0>) +=item B ignore case when searching (C<0>) -=item B ignore case unless one uppercase character is searched (C<1>) +=item B ignore case unless one uppercase character is searched (C<1>) -=item B sleep x us before running paste command (C<100_000>) +=item B sleep x us before running paste command (C<100_000>) -=item B GNU Screen's msgwait variable, used when yanking (C<5>) +=item B GNU Screen's msgwait variable, used when yanking (C<5>) =item B additional accept key like return, set to C<\n> to disable (C) -=item B browser command as array reference (C<['x-www-browser']>) +=item B browser command as array reference (C<['x-www-browser']>) =back @@ -1126,17 +1129,17 @@ Example: =cut my %setting = ( # options - debug => 0, - initial_mode => \&mapping_mode_url, - multiplexer => undef, - ignorecase => 0, - smartcase => 1, - paste_sleep => 100_000, - screen_msgwait => 5, + debug => 0, + initial_mode => \&mapping_mode_url, + multiplexer => undef, + ignorecase => 0, + smartcase => 1, + paste_sleep => 100_000, + screen_msgwait => 5, # global mappings alternative_return => 's', # commands - browser => ['x-www-browser'], + browser => ['x-www-browser'], ); =head2 REGEXPS