From 02740b9eed3aae14660ef11d447b7c508e926062 Mon Sep 17 00:00:00 2001 From: Giorgio Calderone Date: Sun, 12 Apr 2020 00:53:52 +0200 Subject: [PATCH] Minor changes --- src/Gnuplot.jl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Gnuplot.jl b/src/Gnuplot.jl index 0ed39cd..65b600b 100644 --- a/src/Gnuplot.jl +++ b/src/Gnuplot.jl @@ -316,11 +316,6 @@ function GPSession(sid::Symbol) end end end - if isgnuplotrepl[1] && - (line != "GNUPLOT_CAPTURE_BEGIN") && - (line != "GNUPLOT_CAPTURE_END") - println(stdout, line) - end return line end @@ -334,6 +329,9 @@ function GPSession(sid::Symbol) saveOutput = false else if line != "" + if isgnuplotrepl[1] + println(stdout, line) + end if options.verbose || !saveOutput printstyled(color=:cyan, "GNUPLOT ($sid) -> $line\n") end