even streaming feedgnuplots persist

When the data-feeding pipe dies (data source exits) I still want to see the
realtime plot, as it appeared at the end
This commit is contained in:
Dima Kogan 2015-06-22 17:03:30 -07:00
parent 5609773b5b
commit 9d98b84546

View File

@ -457,7 +457,7 @@ sub mainThread
local *PIPE; local *PIPE;
my $dopersist = ''; my $dopersist = '';
if( !$options{stream} && getGnuplotVersion() >= 4.3) if( getGnuplotVersion() >= 4.3)
{ {
$dopersist = '--persist'; $dopersist = '--persist';
} }