X-Git-Url: https://ruderich.org/simon/gitweb/?p=fcscs%2Ffcscs.git;a=blobdiff_plain;f=bin%2Ffcscs;h=d45747123a55f60acf2ea913b3df6b03be906537;hp=66c8410bc7a24a372568063c078b7b57dff8f3b7;hb=bcac0b8075b6cd11edc0ab4237d872f239a8ca67;hpb=693b2782b3c8b103bb81ad0d7df169859a5f453d diff --git a/bin/fcscs b/bin/fcscs index 66c8410..d457471 100755 --- a/bin/fcscs +++ b/bin/fcscs @@ -108,6 +108,9 @@ To change the selection mode (e.g. paths, files, etc.) use one of the mappings explained below. Per default URLs are selected, see options for a way to change this. +I: Opening URLs in the browser passes the URL via the command line which +leaks URLs to other users on the current system via C or C. + I: When yanking (copying) a temporary file is used to pass the data to GNU screen/Tmux without exposing it to C or C. However this may leak data if those temporary files are written to disk. To prevent this change @@ -264,6 +267,8 @@ package Screen { sub draw_prompt { my ($self, $config) = @_; + $self->debug('draw_prompt', 'started'); + my $x = 0; my $y = $self->height - 1; @@ -273,17 +278,20 @@ package Screen { # Draw prompt flags. if (defined (my $s = $self->{prompt}{flags})) { $s = "[$s]"; + $self->debug('draw_prompt', $s); $self->draw_clipped($y, $x, $config->{attribute}{prompt_flags}, $s); $x += length($s) + 1; # space between next element } # Draw prompt name. if (defined (my $s = $self->{prompt}{name})) { $s = "[$s]"; + $self->debug('draw_prompt', $s); $self->draw_clipped($y, $x, $config->{attribute}{prompt_name}, $s); $x += length($s) + 1; } # Draw prompt value, e.g. a search field. if (defined (my $s = $self->{prompt}{value})) { + $self->debug('draw_prompt', $s); $self->draw_clipped($y, $x, undef, $s); $x += length($s) + 1; }