Minor changes

This commit is contained in:
Giorgio Calderone 2020-04-12 00:53:52 +02:00
parent 29ad51fe9f
commit 02740b9eed

View File

@ -316,11 +316,6 @@ function GPSession(sid::Symbol)
end end
end end
end end
if isgnuplotrepl[1] &&
(line != "GNUPLOT_CAPTURE_BEGIN") &&
(line != "GNUPLOT_CAPTURE_END")
println(stdout, line)
end
return line return line
end end
@ -334,6 +329,9 @@ function GPSession(sid::Symbol)
saveOutput = false saveOutput = false
else else
if line != "" if line != ""
if isgnuplotrepl[1]
println(stdout, line)
end
if options.verbose || !saveOutput if options.verbose || !saveOutput
printstyled(color=:cyan, "GNUPLOT ($sid) -> $line\n") printstyled(color=:cyan, "GNUPLOT ($sid) -> $line\n")
end end